Trying to match SQLPlus's string literal line break behavior

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Trying to match SQLPlus's string literal line break behavior

Post by MarkF » Tue 05 Apr 2011 13:38

It appears that the TOCICommand.RemoveCRSymbols function keeps CRLF pairs inside string literals. SQLPlus replaces these with just LF and I'd like to match that behavior. Is there anyway to do this without editing the source code? Thanks for any help.

-Mark Ford
Benthic Software

MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Post by MarkF » Tue 05 Apr 2011 13:40

Oops! I found the RemoveCRInStringLiterals global variable about 3 seconds after posting. My issue looks to be solved!

-Mark

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 06 Apr 2011 07:07

Hello,

Glad to see that you solved the problem.

Post Reply