RE: Is there an option for insert statements/DML to be captured similar to DDLs generated with import imp show=y

  • From: "Dunbar, Norman" <norman.dunbar@xxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <sundarmahadevan82@xxxxxxxxx>, <Oracle-L@xxxxxxxxxxxxx>
  • Date: Thu, 8 Oct 2009 08:26:00 +0100

Morning Sundar,

>> ... Is there a similar
>> option/method to write insert statements/dml to a file named
>> dmlcreate.log?

In a word, almost!

I can't remember exactly, but either in your show= or your index=
logfile, you will find a number of INSERT INTO <table> VALUES (:1, :2,
:3, :4, :5, :6 .....) - I'm certain I have seen these statements in the
past. However, as you can see, the imp process uses bind variables
(parse once, execute many) and thus, you will be unable to get the full
list of INSERT statements that you require I'm afraid.

On second thoughts, maybe I've seen these statements in Toad when
monitoring an imp session - sorry, I can't remember exactly. It's been a
while.


HTH

Cheers,
Norm.


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

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
--
//www.freelists.org/webpage/oracle-l


Other related posts: