It is possible... you simply use the "alter table" statement. However, you'd better double check that the column type alteration is allowed (ie castable) as it'll error out if its not- Sql Books Online should have this info.
If this is not the case, you'll probably have to write a 'custom' routine that'll (a) extract all the data (b) change the column type and then (c) load the data back into the table with a customised column conversion function... Best to make a backup of the database in either case, just in case something happens. I've been caught out be this one on a previous occassion - one which I wouldn't like to have to redo ever again. Misery.
Joe
Enter your message below
Sign in or Join us (it's free).