我在oracle中查询,输出为
"S.ACQUIRER||'|'||SUBSTR(S.ACQ_COUNTRY,1,4)||'|'||SUBSTR(S.ACQ_CURRENCY_CODE,1,5)||'|'||S.PAN||'|'||SUBSTR(S.ACCTNUM,1,18)||'|'||SU\
BSTR(I.E_NAME,1,35)||'|'||S.LOCAL_DATE||'|'||S.LOCAL_TIME||'|'||DECODE(S.PCODE,0,'POSTRANSACTIONFROMDEFAULTACCOUNT',1000,'POS"
"9000000007|840|840|5048349120900000008|504834000000006028|Ecustomer name |03-JAN-14|115744|Cash Withdrawl from\
Savings Account |10|Approved |2000061|ATM Test Terminal Bang |123400000123456 |01001101"
"9000000007|840|840|5048349120900000008|504834000000006028|Ecustomer name |03-JAN-14|115744|Cash Withdrawl from\
Savings Account |10|10|4000061|ATM Test Terminal Bang |123450000000456 |01001101"
预期输出是多少
9000000007|840|840|5048349120900000008|504834000000006028|Ecustomer name |03-JAN-14|115744|Cash Withdrawl from Savings Account |10|Approved |2000061|ATM Test Terminal Bang |123400000123456 |01001101
9000000007|840|840|5048349120900000008|504834000000006028|Ecustomer name |03-JAN-14|115744|Cash Withdrawl from Savings Account |10|10|4000061|ATM Test Terminal Bang |123450000000456 |01001101
我的期望是:
应该没有标题
每行开头都不应该有“<”
新行字符“\”不应出现
我尝试使用以下命令删除标题,但没有成功
设置HEADING OFF
设置pagesize 0
如何在没有标题"
和\
?
答案 0 :(得分:1)
SET HEADDING OFF
中不存在 Oracle
,请使用
SET HEADING OFF