Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating Test Data
Message
From
20/02/2016 04:02:42
 
 
To
19/02/2016 20:06:47
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008 R2
Miscellaneous
Thread ID:
01631757
Message ID:
01631778
Views:
54
>>
>>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.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform