Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating Test Data
Message
De
23/02/2016 07:27:05
 
 
À
20/02/2016 04:02:42
Antonio Lopes (En ligne)
BookMARC
Coimbra, Portugal
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:
01631864
Vues:
57
>>>
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform