Hi, When you try to export database's tables, HEIDISQL produces wrong syntax like:
CREATE TABLE IF NOT EXISTS "SomeTable" (
"Id" INT(10,0) NOT NULL,
"Big" BIGINT(19,0) NULL DEFAULT NULL,
PRIMARY KEY ("Id")
);
But it should be:
IF NOT EXISTS (SELECT * FROM sysobjects WHERE TYPE = N'U' AND name = N'SomeTable')
CREATE TABLE "SomeTable" (
"Id" INT NOT NULL,
"Big" BIGINT NULL DEFAULT NULL,
PRIMARY KEY ("Id")
);
I only have found those issues but there could be more of them at creating data table.
Best regards