Database Administration (MOSC)

MOSC Banner

Database extract in csv format in scripting

edited Jul 17, 2013 6:22AM in Database Administration (MOSC) 5 commentsAnswered
Hi Experts,
    I am generating database extract report. Usually user provides me query that have to extract output to .csv and zip and send to user using scheudled job.But I have difficulty in getting output into .csv. When I open file outptu is scrambled or sometimes getting message

~
~
"INC000013844217_2013071618.csv" Line too long


server details;SunOS asidikir001c01 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V490
Db details:10.2.0.4.0


I attached SQL query &  shell script to do this job.  I appreciate if anyone have knowledge on this and  helps me out.







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