I want to migrate this sentence in SQL Server to Oracle:
ALTER TABLE <name table> ADD DEFAULT (NULL) FOR <name column>;
I'm beginner in SQL Server and Oracle so I don't know what it means with DEFAULT (NULL) FOR
.
If you can help me with the migration please and explain the sequence.
The syntax is
ALTER TABLE <TABLE_NAME> MODIFY <COLUMN_NAME> DEFAULT NULL;
Though the above doesn't make much sense. The sample below tries to make some
ALTER TABLE <TABLE_NAME> MODIFY <ANY_DATE_COLUMN_NAME> DEFAULT SYSDATE;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.