ALLOW_NEWLINE
Posted in 2009
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi there,
I understand how ALLOW_NEWLINE works. However I don't understand why
the option is there in the first place. I would have thought that
having it on permanently would be more useful rather than not. Then
you can control when you want newlines to appear by inserting "\\n" in
your code.
Can anyone explain why the option is there? Is it more computationally
expensive when turned on?
Many thanks
Andrew
Including Newline in Quoted Strings
http://publib.boulder.ibm.com/infocenter/idshelp/v115/index.jsp?topic=/com.ibm.esqlc.doc/sii01221865.htm
ALLOW_NEWLINE
http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.adref.doc/adref47.htm
On Thu, May 21, 2009 at 07:05, Andrew2006 <mymatebob@googlemail.com> wrote:
> I understand how ALLOW_NEWLINE works. However I don't understand why
> the option is there in the first place. I would have thought that
> having it on permanently would be more useful rather than not. Then
> you can control when you want newlines to appear by inserting "\\n" in
> your code.
>
> Can anyone explain why the option is there? Is it more computationally
> expensive when turned on?
>
> Including Newline in Quoted Strings
> http://publib.boulder.ibm.com/infocenter/idshelp/v115/index.jsp?topic=/com.ibm.esqlc.doc/sii01221865.htm
>
> ALLOW_NEWLINE
> http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.adref.doc/adref47.htm
See the answer to the same question (minus manual references) at:
http://stackoverflow.com/questions/893246/informix-allownewline
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2008.0513 -- http://dbi.perl.org/
"Blessed are we who can laugh at ourselves, for we shall never cease
to be amused."
NB: Please do not use this email for correspondence.
I don't necessarily read it every week, even.
George Carlin - "Electricity is really just organized lightning." -
http://www.brainyquote.com/quotes/authors/g/george_carlin.html