Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql change primary key to composite key

    /* For SQL Server/Oracle/MS ACCESS */
    ALTER TABLE  AgentIdentification 
    DROP CONSTRAINT PK_Table1_Col1


    /* For MySql */
    ALTER TABLE  AgentIdentification 
    DROP PRIMARY KEY
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #change #primary #key #composite #key
ADD COMMENT
Topic
Name
8+4 =