Dear All,
We have an issue while creating a DB2 Function using Liquibase, though the functiona can be created on DB2 without any issue. How ever we we are through Liquibase, its throwing error as below.
Query we are trying to trigger:
Unexpected error running Liquibase: Lexical error at line 51, column 45. Encountered: “\uffe5” (65509), after : “”
Logs saved to
main\resources\LiquibaseDB2LUW\logs\liquibase.log
SET wk_Char = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
REPLACE(REPLACE(REPLACE(wk_Char
,’!’,’!’),’"’,’”’),’#’,’#’),’$’,‘$’),’%’,’%’),’&’,’&’),’’’’,’’’),’(’,’(’),’)’,’)’),’=’,‘=’)
,’^’,‘^’),’|’,‘|’),‘backslash’,‘¥’),’`’,’‘’),’@’,’@’),’{’,’{’),’[’,’[’),’+’,’#’),’;’,’;’),’/’,’/’)
,’*’,’*’),’:’,’:’),’}’,’}’),’]’,’]’),’<’,’#’),’,’,’,’),’>’,’#’),’.’,’.’),’?’,’?’),’-’,’-’)
,’_’,’_’),’ ‘,’ ‘),’~’,’#’);–
Error shown on ‘backslash’‘¥’