CREATE TABLE "hdbtable-itest::SamplePostgreXSClassicTable" ( ID INTEGER DEFAULT 20 NOT NULL , NAME VARCHAR (20) NOT NULL , JOB VARCHAR (20) NOT NULL , NUMBER INTEGER DEFAULT 444 NOT NULL ,
PRIMARY KEY ( ID ), CONSTRAINT "MYINDEX" UNIQUE ( ID ),
CONSTRAINT "MYINDEX10" UNIQUE ( JOB , NAME ))
Such SQL syntax leads to a db error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"hdbtable-itest::SamplePostgreXSClassicTable"
According to mysql documentation, table names should be escaped with ` instead of " symbol.
If you want to create a table with the following XS Classic definition:
SqlFactory creates query of the following form:
Such SQL syntax leads to a db error:
According to mysql documentation, table names should be escaped with
`
instead of"
symbol.