im new to sql server and want to convert my dbf to sql server express. i have imported the first table and want to get this right before i do the rest.
my question is with regards to PK and auto increment.
my dbf file has a field called 'Caseref' which was set to auto increment as a field rule in the table.
i made this field the PK in MS SQL Server, i then tried to set it as unique but it changed the values in the field starting from 1 upwards.
this causes a problem with the rest of the tables as this field value is the FK in all other related tables and i will lose the relationship between parent and child records.
i was hoping someone could tell me how i get around this problem.