Subject | Re: [firebird-support] Isql exchange CR+LF for LF |
---|---|
Author | Richard Wesley |
Post date | 2007-09-03T15:42:50Z |
On 31 Aug 2007, at 08:39, piraju1379 wrote:
the Firebird Book, p162:
INSERT INTO Table1 (Field1)
VALUES ('Line1' || Ascii_Char(13) || Ascii_Char(10) || 'Line2');
HTH,
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html
> Firebird 2.0.1It is usually a better idea to make the characters explicit. From
>
> Using isql to execute one script test.sql
> isql -i test.sql
>
> */test.sql*/
> INSERT INTO Table1 (Field1)
> VALUES ('Line1
> Line2');
>
> Isql exchange CR+LF for LF.
>
> Executing script test.sql in the IBExpert not
> the problem occurs.
>
> Would be one bug of isql or exists some configuration?
the Firebird Book, p162:
INSERT INTO Table1 (Field1)
VALUES ('Line1' || Ascii_Char(13) || Ascii_Char(10) || 'Line2');
HTH,
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html