|
Archives of the TeradataForumMessage Posted: Wed, 17 Aug 2005 @ 10:15:30 GMT
hi, I want the Teradata counterpart for the following Oracle Query, select 'hello' || chr(10) || 'world' from dual; OUTPUT : 'hello' || ----------- hello world In Teradata, similar Query, select 'hello' || chr(10) || 'world' ; returns (('hello'||chr(10))||'world') ----------------------------- hello world which is not what i neeeeed. Have already tried with : select 'hello' || '0D0A'xc || 'world'; this gives the following result. (('hello'||' ')||'world') -------------------------- hello world which also doesnt work for me.... The above query will be run through JDBC, so i cant use the SET FOLDLINE trick mentioned in the Forum. Please suggest. Is there a teradata counterpart for chr(10) in oracle. Regards Preetham.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||