Hi!
As you know, you can duplicate the definition of a table using CREATE TABLE LIKE or CREATE TABLE AS.
But, I can't find the way to replicate the Primary Key as well.
Is there any way to do that in SQL?
Thanks
As you know, you can duplicate the definition of a table using CREATE TABLE LIKE or CREATE TABLE AS.
But, I can't find the way to replicate the Primary Key as well.
Is there any way to do that in SQL?
Thanks