PL/SQL (MOSC)

MOSC Banner

SQLPLUS help

edited Jul 15, 2015 10:43AM in PL/SQL (MOSC) 4 commentsAnswered ✓

I have a query to extract for some migration purpose.

select number,name,notes from table_name
where number=1;

I want it to be csv and pipe delimited

When I extract it from toad export data set I get the output as correct

Number|Name|Notes
123456|Oracle user|Hello Oracle user,  You have a notice to pay immediately from Oracle Recevables. Thanks, Regards, --Oracle Receivables Controller India Phone nu:9999999 email: oracleuser1@ymail.com, website : www.oracle.com


But in Toad if I connect to SQLPLUS and run this one

SET SERVEROUTPUT ON SIZE 1000000
SET LINES 5000
SET PAGES 10000
set trimspool on

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center