RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus?
- From: Michael Dinh <mdinh@xxxxxxxxx>
- To: "'bwmyers@xxxxxxxxx'" <bwmyers@xxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
- Date: Wed, 1 Sep 2010 15:46:30 -0700
IF all the concatenated columns exceed 4000 characters, then SQL*Plus will choke. We don't use Pro*C; however, it was done in Java instead. Michael Dinh : XIFIN : 858.436.2929 NOTICE OF CONFIDENTIALITY - This material is intended for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable laws. BE FURTHER ADVISED THAT THIS EMAIL MAY CONTAIN PROTECTED HEALTH INFORMATION (PHI). BY ACCEPTING THIS MESSAGE, YOU ACKNOWLEDGE THE FOREGOING, AND AGREE AS FOLLOWS: YOU AGREE TO NOT DISCLOSE TO ANY THIRD PARTY ANY PHI CONTAINED HEREIN, EXCEPT AS EXPRESSLY PERMITTED AND ONLY TO THE EXTENT NECESSARY TO PERFORM YOUR OBLIGATIONS RELATING TO THE RECEIPT OF THIS MESSAGE. If the reader of this email (and attachments) is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please notify the sender of the error and delete the e-mail you received. Thank you. From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Myers Sent: Wednesday, September 01, 2010 3:24 PM To: oracle-l@xxxxxxxxxxxxx Subject: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? In my previous post, http://www.freelists.org/post/oracle-l/Any-valid-security-concerns-using-Data-Pump-over-conventional-expimp, I mentioned that the DBAs at my new job use Pro*C to export data to flat files. So I asked one of them in a meeting: "why not use SQL*Plus instead?" Response after a long awkward stare: "you tell me". I have searched the forums and docs to no avail (besides maybe some speed advantage). So, is there any real advantage to using Pro*C over SQL*Plus to spool result sets to flat files? I certainly don't want to become a Pro*C expert, so any ideas would be greatly appreciated. Thanks in advance. Bill 9i OCA/10g OCP DBA
- Follow-Ups:
- References:
Other related posts:
- » Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Myers
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Jared Still
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Michael Dinh
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - John Piwowar
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Myers
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Michael Dinh
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Steve Baldwin
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Myers
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Rumpi Gravenstein
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Steve Baldwin
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - De DBA
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - De DBA
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Myers
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Subodh Deshpande
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - William Robertson
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Howard Latham
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bellows, Bambi (Comsys)
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Greg Rahn
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Goulet, Richard
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Jared Still
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Jeremy Schneider
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Powell, Mark
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Andreas Piesk
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Ferguson
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Goulet, Richard
- » RE: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Powell, Mark
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Bill Myers
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Peter Hitchman
- » Re: Why use Pro*C for spooling result sets to flat files when you can do the same thing in SQL*Plus? - Subodh Deshpande