I've got data from a MySQL database that had the primary key with "auto increment". Exported to a flat file for import.
Now am importing to SQL2K - problem is that of the original 353 records (just a tiny db, thank goodness!), there are only 342, with the first record ID = 2.
So I still need "ID" as the primary key, with Identity turned on to increment by 1.
Any ideas? I can easily use a DTS to import, but wondering how to set the increment "ON" after the import (if possible via Enterprise Mgr?) and how to get it to start incrementing with the next record as 354.
FYI - I've learned everything about MSSQL by the seat of my pants, so I'm always grateful for any help I get!!!!
Now am importing to SQL2K - problem is that of the original 353 records (just a tiny db, thank goodness!), there are only 342, with the first record ID = 2.
So I still need "ID" as the primary key, with Identity turned on to increment by 1.
Any ideas? I can easily use a DTS to import, but wondering how to set the increment "ON" after the import (if possible via Enterprise Mgr?) and how to get it to start incrementing with the next record as 354.
FYI - I've learned everything about MSSQL by the seat of my pants, so I'm always grateful for any help I get!!!!