如何在 Sql 中转义分号?我使用 playframework 我试图在“值”中插入 html 代码,但是当我尝试使用分号时,它不起作用?
CREATE TABLE "R_EMAIL_TEMPLATE"
(
"ID" uuid NOT NULL,
"WP_ID" uuid NOT NULL,
"CODE" text NOT NULL,
"SUBJECT" text NOT NULL,
"CONTENT" text NOT NULL,
"CREATED_AT" timestamp without time zone,
"CREATED_BY" text,
"UPDATED_AT" timestamp without time zone,
"UPDATED_BY" text,
CONSTRAINT "R_EMAIL_TEMPLATE_pkey" PRIMARY KEY ("ID"),
CONSTRAINT "R_EMAIL_TEMPLATE_WP_pkey" FOREIGN KEY ("WP_ID") REFERENCES "C_WP" ("ID")
);
INSERT INTO "R_EMAIL_TEMPLATE"
VALUES (
'30abd6ec-3496-45ff-be54-7f6f9290ebc4',
'30abd6ec-3496-45ff-be54-7f6f9290ebcf',
'user-activation',
'User Registration',
';',
'2018-05-17 19:02:39.643',
'LOGIN',
null,
null
);
富国沪深
ABOUTYOU
相关分类