Liquibase error: unterminated dollar-quoted string at or near "$BODY$`
Chaneg日誌XML有一個條目:參照下 包括文件=」/家庭的/ dev /....../ admin_script.sql」文件
內容:
...............
CREATE OR REPLACE FUNCTION my_schema.function-name()
RETURNS smallint AS
$BODY$
DECLARE
v_next_gen_id smallint := 0;
BEGIN
..........
例外:
liquibase.exception.DatabaseException: Error executing SQL CREATE OR REPLACE FUNCTION function name() ETURNS smallint AS $BODY$ DECLARE v_next_gen_id smallint := 0: ERROR: unterminated dollar-quoted string at or near "$BODY$
感謝所有幫助解決這個
[錯誤:未結束的引號的字符串或接近]的可能的複製(https://stackoverflow.com/questions/3499483/error-unterminated-quoted-string -at-or-near) – Andremoniy