I have a few tables that have a int data type field as its primary key. That field used to hold a 7 digit record number and it worked fine. Now they are using a 10 digit number and the INT data type is too small I need to change that field to a BIGINT.
When I just change it and go to save it gives me the save changes is not permitted error. I read that I can disable the option that gives me this error.
What im asking is what is the best way to go about changing this fields data type from INT to BIGINT. I know very little SQL. We are using sql 2012.
Edit: Would it be wise to just make a new field, transfer all that data over and name it the same and make it the primary and get rid of the old one?
When I just change it and go to save it gives me the save changes is not permitted error. I read that I can disable the option that gives me this error.
What im asking is what is the best way to go about changing this fields data type from INT to BIGINT. I know very little SQL. We are using sql 2012.
Edit: Would it be wise to just make a new field, transfer all that data over and name it the same and make it the primary and get rid of the old one?
Last edited: