rmatthew Posted January 25, 2006 Posted January 25, 2006 I am attempting to execute the following: alter table chronology alter column rec_tmstmp drop not null; give the following: incorrect syntax near the keywork not Any ideas on the syntax to alter a column and make it nullable? Quote
*Experts* Nerseus Posted January 25, 2006 *Experts* Posted January 25, 2006 What database are you using? In SQL Server, I'd use: ALTER TABLE chronology ALTER COLUMN rec_tmstmp Timestamp NULL The syntax is basically "ALTER COLUMN" and then just explain how you want the column to be, including the type and NULLability. -ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.