This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- SELECT * FROM demo; | |
-- Adding the unique constraint to specific column in the table using Alter clause | |
-- ALTER TABLE demo | |
-- ADD UNIQUE (name); | |
-- ALTER TABLE demo | |
-- DROP INDEX name; |