Board index » delphi » Modifing primary key after table created

Modifing primary key after table created

You would need to drop the primary key constraint, add the field, and
recreate the primary key constraint.

Dan

Quote
"Ryan McGinty" <rmcgi...@oceris.com> wrote in message

news:3cb457b6$1_2@dnews...
Quote
> Is there any way in SQL to modify the primary key for an existing table?
> Specifically, I need to add a field to the table and add that field to the
> fields that make up the primary key.  Thanks in advance!

> Ryan McGinty

 

Re:Modifing primary key after table created


Is there any way in SQL to modify the primary key for an existing table?
Specifically, I need to add a field to the table and add that field to the
fields that make up the primary key.  Thanks in advance!

Ryan McGinty

Other Threads