sql query to drop primary key constraint code example Example: sql drop primary key ALTER TABLE [table_name] DROP CONSTRAINT [primary_key_name]