RE: Developer question

From: Taylor, Chris David <ChrisDavid.Taylor_at_ingrambarge.com>
Date: Mon, 5 Dec 2011 09:46:11 -0600
Message-ID: <C5533BD628A9524496D63801704AE56D6A34134919_at_SPOBMEXC14.adprod.directory>



That looks exactly like what is needed.

Thanks Norm!

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205

"Quality is never an accident; it is always the result of intelligent effort." -- John Ruskin (English Writer 1819-1900)

CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and delete the contents of this message without disclosing the contents to anyone, using them for any purpose, or storing or copying the information on any medium.

-----Original Message-----
From: Dunbar, Norman (Capgemini) [mailto:norman.dunbar.capgemini_at_environment-agency.gov.uk] Sent: Monday, December 05, 2011 9:43 AM
To: Taylor, Chris David; 'oracle-l_at_freelists.org' Subject: RE: Developer question

Hi Chris,

take a look at DBMS_SQL.Parse() - if you want to do it in PL/SQL that is. For other tools such as Perl, C++, etc, then it's all down to what options the tool itself provides in its Oracle Interface utilities.

HTH Cheers,
Norm.

Norman Dunbar
Contract Senior Oracle DBA
Capgemini Database Build Team
Internal : 7 28 2051
External : 0113 231 2051

>> -----Original Message-----
>> From: oracle-l-bounce_at_freelists.org
>> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Taylor, Chris
>> David
>> Sent: 05 December 2011 15:37
>> To: 'oracle-l_at_freelists.org'
>> Subject: Developer question
>>
>> I'm forwarding this to the list because I don't know an answer off
>> the top of my head and Google isn't being much help due to the nature
>> of the search.
>> Developer wants to know if you can prepare a statement in a string
>> variable like 'execute someproc();' and check the validity of the
>> statement without executing it. (PARSE it only)
>>
>> I *thought* there was a way in Oracle to parse a statement without
>> executing it but I can't figure it out at the moment.
>>
>>
>> Chris Taylor
>> Sr. Oracle DBA
>> Ingram Barge Company
>> Nashville, TN 37205
>>
>> "Quality is never an accident; it is always the result of intelligent
>> effort."
>> -- John Ruskin (English Writer 1819-1900)
>>
>> CONFIDENTIALITY NOTICE: This e-mail and any attachments are
>> confidential and may also be privileged. If you are not the named
>> recipient, please notify the sender immediately and delete the
>> contents of this message without disclosing the contents to anyone,
>> using them for any purpose, or storing or copying the information on
>> any medium.
>>
>>
>> --
>> http://www.freelists.org/webpage/oracle-l
>>
>>
>>

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 05 2011 - 09:46:11 CST

Original text of this message