I'm trying to update an old Access database using SQL scripts, but I can't find the syntax for removing a default value from a column.
Is this possible in Access?
I'm trying to update an old Access database using SQL scripts, but I can't find the syntax for removing a default value from a column.
Is this possible in Access?
I don't think the Access SQL is much different from the regular SQL syntax:
ALTER TABLE TableName
ALTER COLUMN ColumnName DROP DEFAULT
Alter statements are not fully supported in Access and cause many headaches. You would be much better off if you open the database in access and edit the schema that way.
This question is a possible dupe SQL to add column with default value - Access 2003