?
Solved

Spool large XML in SQL*PLUS.

Posted on 2013-11-01
2
Medium Priority
?
1,868 Views
Last Modified: 2013-11-01
I am trying to spool an XML file output in SQL*PLUS. It is cutting off after spooling a few rows, making the XML file incomplete. How to resolve it?

Thanks in advance!
Sudhakar.
0
Comment
Question by:nssudha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 39616985
Check out the LONG sqlplus setting:
set long 100000000
0
 

Author Closing Comment

by:nssudha
ID: 39617016
It worked! I set both long and longchunksize to 100000000 just in case. It spooled the output without cutting.

Thank you!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question