Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preserving auto incremental field in SQL Server
Message
De
27/02/2008 05:17:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/02/2008 00:43:14
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
01296736
Message ID:
01296764
Vues:
9
>I have a package to migrate VFP data to SQL Server. This works pretty much ok so far. All my tables have an auto incremental field. However, once the package is run, the auto incremental field is migrated as Integer. This does not seem to be recognized. What should I do to preserve that field?

You can use an Identity field. BUT IMHO using an integer field as PK is not a good idea (I'm in use GUID as PK camp).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform