I probably know the answer to this already, but I thought I'd ask.
We have a database with an ID field that has to have a datatype of int. I need to import data into this field, but some of the data I'm importing overflows the datatype (i.e. it needs to be bigint).
Is there anyway I can force this data into the field without changing the datatype, whilst also keeping each ID unique?
Thanks!
Edit: Probably should say this is SQL Server 2005!
We have a database with an ID field that has to have a datatype of int. I need to import data into this field, but some of the data I'm importing overflows the datatype (i.e. it needs to be bigint).
Is there anyway I can force this data into the field without changing the datatype, whilst also keeping each ID unique?
Thanks!
Edit: Probably should say this is SQL Server 2005!