Answers for "sqlite alter table unique constraint"

SQL
1

how to drop a unique constraint in sql

SHOW CREATE TABLE [tableName]
-- Find the constraintID after CONSTRAINT 'constraintID'
ALTER TABLE [tableName] DROP FOREIGN KEY constraintID
Posted by: Guest on October-29-2020
0

sqlite unique

sqlite uniue
-------------------------        
CREATE TABLE contacts(
  contact_id INTEGER PRIMARY KEY,
  first_name TEXT,
  last_name TEXT,
  email TEXT NOT NULL UNIQUE
);
Posted by: Guest on October-21-2020

Code answers related to "sqlite alter table unique constraint"

Code answers related to "SQL"

Browse Popular Code Answers by Language