Trying to move a DB from SQLExpress to MySQL
I am making a simple table to get my head around the syntax
but having some problems with creating the PK which needs to be separate from the Table definitions.
Any help appreciated.
Age is a consequence of experience
I am making a simple table to get my head around the syntax
Code:
create table Product
(
ProductID int not null,
ProductID_Parent int default null,
Name varchar(50)
) type=InnoDB;
Any help appreciated.
Code:
ALTER TABLE Product
Alter Column ProductID INT NOT NULL AUTO_INCREMENT Add "FK_Product" PRIMARY KEY
Age is a consequence of experience