RE: Developer question

From: Dunbar, Norman (Capgemini) <>
Date: Mon, 5 Dec 2011 15:42:42 +0000
Message-ID: <341078561D12A54D8FEA365F2489FD2703F69F_at_EATOLEXMBS01.PRODDS.NTNL>

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,

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

>> -----Original Message-----
>> From:
>> [] On Behalf Of Taylor,
>> Chris David
>> Sent: 05 December 2011 15:37
>> To: ''
>> 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.
>> --

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

Received on Mon Dec 05 2011 - 09:42:42 CST

Original text of this message