Clicky
Skip to Content
Custom Search

Reply to comment

Drop Primary Key on DB2 Table

 

 
 
 
 
 
 
 
 
 
 
 
 
Drop Primary Key on DB2 Table
 
 
 
How to drop an existing primary Key on a table?
 
You will need to use the ALTER command to delete the primary 
key from the table. The following is an example of such query.
 
 
ALTER TABLE Table_Name DROP PRIMARY KEY;
 
Where Table_Name is the name of table on which you want 
to delete the primary key.

Reply

  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Navigation

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Number of Registered users 1278
Theme by Dr. Radut.