Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating Test Data
Message
De
20/02/2016 04:02:42
 
 
À
19/02/2016 20:06:47
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2008 R2
Divers
Thread ID:
01631757
Message ID:
01631778
Vues:
55
>>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform