I got this create table statement;
$sql = "CREATE TABLE TermsFinal(
`seed` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
`source` varchar(100),
`old_term` varchar(255),
`new_term` varchar(100),
`same_as` varchar(100),
`last_access` datetime)";
Is there a way to put comments into this statement to the same effect as follows?
$sql = "CREATE TABLE TermsFinal(
`seed` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
`source` varchar(100), //sample value services.media
`old_term` varchar(255), // something like "services.media>category:perspective"
`new_term` varchar(100), // something like "opinion"
`same_as` varchar(100), // the seed id of another record or another "old_term" from this table
`last_update` datetime)"; // when the last update took place
Try following SQL comment syntax, but be careful with ” in your text
Read more…