Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preserving auto incremental field in SQL Server
Message
From
27/02/2008 05:17:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/02/2008 00:43:14
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01296736
Message ID:
01296764
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform