Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating Test Data
Message
From
23/02/2016 07:27:05
 
 
To
20/02/2016 04:02:42
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008 R2
Miscellaneous
Thread ID:
01631757
Message ID:
01631864
Views:
56
>>>
>>>I believe BULK based command and utilities are targeted for efficiency (among other requisites). For a comparison of the efficiency of different insert methods: https://www.simple-talk.com/sql/performance/comparing-multiple-rows-insert-vs-single-row-insert-with-three-data-load-methods/
>>
>>Thanks, I'm trying to use a BCP command to create the format file I need but it's not working:
>>
>>bcp transactions format nul -c -x -f transactionformat.xml –t, -T
>>
>>gives me: incorrect syntax near format
>>
>>Any idea what I am doing wrong? I need a format file because I need to skip a couple columns (assuming the default values will get populated using bulk insert)
>
>bcp is a command line utility, you must run it from the command prompt.

Thanks Antonio.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform