Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of bcp to replicate the image of a table
Message
De
12/09/2008 12:22:30
 
 
À
12/09/2008 12:16:55
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01347092
Message ID:
01347102
Vues:
17
>Would the -E switch help ?
>
>-E 
>Specifies that identity value or values in the imported data file are to be used for the identity column. 
>If -E is not given, the identity values for this column in the data file being imported are ignored, 
>and SQL Server automatically assigns unique values based on the seed and increment values specified during table creation. 
>
>
>http://msdn.microsoft.com/en-us/library/ms162802(SQL.90).aspx
>
>http://msdn.microsoft.com/en-us/library/ms186335(SQL.90).aspx

Thanks, this is good to know. I will probably end up using a method of the framework I have as it takes care of everything, such as recreating the table and indexes.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform