Adding column with primary key in existing table

后端 未结 5 1936
感动是毒
感动是毒 2021-02-02 12:29

I am trying to add primary key to newly added column in existing table name Product_Details.

New Column added: Product_Detail_ID (int

5条回答
  •  不思量自难忘°
    2021-02-02 13:05

    k. friend command: sql> alter table tablename add primary key(col_name);

    ex: alter table pk_Product_Detils add primary key(Product_Detail_ID);

提交回复
热议问题