# How to handle the backslash \\ character in DB2 DDL Creation

**URL:** <https://forum.liquibase.org/t/how-to-handle-the-backslash-character-in-db2-ddl-creation/6218>\
**Category:** Liquibase Development\
**Created:** [November 30, 2021, 4:48am UTC](https://forum.liquibase.org/t/how-to-handle-the-backslash-character-in-db2-ddl-creation/6218 "2021-11-30T04:48:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sangramsk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@Sangramsk](https://forum.liquibase.org/u/Sangramsk)\
**Post date:** [November 30, 2021, 4:48am UTC](https://forum.liquibase.org/t/how-to-handle-the-backslash-character-in-db2-ddl-creation/6218/1 "2021-11-30T04:48:00Z")

</div>

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’‘￥’

---

<div class="post-metadata">

**Author:** ![Sangramsk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@Sangramsk](https://forum.liquibase.org/u/Sangramsk)\
**Post date:** [November 30, 2021, 4:48am UTC](https://forum.liquibase.org/t/how-to-handle-the-backslash-character-in-db2-ddl-creation/6218/2 "2021-11-30T04:48:51Z")

</div>

[2021-11-30 13:45:25] SEVERE [liquibase.integration] Lexical error at line 51, column 45. Encountered: “\uffe5” (65509), after : “”  
liquibase.exception.CommandExecutionException: liquibase.exception.LiquibaseException: Unexpected error running Liquibase: Lexical error at line 51, column 45. Encountered: “\uffe5” (65509), after : “”  
at liquibase.command.CommandScope.execute(CommandScope.java:156)  
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:45)  
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:15)  
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)  
at picocli.CommandLine.access$1300(CommandLine.java:145)  
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)  
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)  
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)  
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)  
at picocli.CommandLine.execute(CommandLine.java:2078)  
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$1(LiquibaseCommandLine.java:325)  
at liquibase.Scope.child(Scope.java:186)  
at liquibase.Scope.child(Scope.java:162)  
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:291)  
at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:80)  
Caused by: liquibase.exception.LiquibaseException: Unexpected error running Liquibase: Lexical error at line 51, column 45. Encountered: “\uffe5” (65509), after : “”
