Can we call procedure (for Truncating Table )from OraBulk
Moderators: chulett, rschirm, roy
Can we call procedure (for Truncating Table )from OraBulk
Hi all,
Can we call procedure (for Truncating Table )from OraBulk Stage? If so Please let me know how to implement it.
Can we call procedure (for Truncating Table )from OraBulk Stage? If so Please let me know how to implement it.
Thanks and Regards,
Mohan Ram.T
Mohan Ram.T
Hi Mohan,
No need a procedure just for Truncation. You can use "Truncate Table Before insert rows" update action available in OCI stage. If you tend to just truncate, you can do in Before/After sql as well. Or you can even pass some blank records with this option.
No need a procedure just for Truncation. You can use "Truncate Table Before insert rows" update action available in OCI stage. If you tend to just truncate, you can do in Before/After sql as well. Or you can even pass some blank records with this option.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Thanks for the suggestion
But what I want is Can we call a procedure in Orabulk Stage .WE DONT HAVE TRUNCATE PRIVILAGE.All we want to do is to create a store procedure and call the procedure in the stage
We can even create table in OraBulk Stage By making
'insertion mode=TRUNCATE'
But what I want is Can we call a procedure in Orabulk Stage .WE DONT HAVE TRUNCATE PRIVILAGE.All we want to do is to create a store procedure and call the procedure in the stage
We can even create table in OraBulk Stage By making
'insertion mode=TRUNCATE'
Thanks and Regards,
Mohan Ram.T
Mohan Ram.T
Re: Can we call procedure (for Truncating Table )from OraBul
No. You'll need to find some other place to do that, like a Stored Procedure stage. Or switch it to 'Manual' mode and tweak the generated control file before you launch sqlldr.Mohanram wrote:Can we call procedure (for Truncating Table )from OraBulk Stage?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Ok, I see... you are looking at the Oracle 7 Load stage. That's an important distinction to make, my friend.
Besides the fact that it is for Oracle 7, I don't think that stage is even documented anywhere, at least not anywhere I could find. And from what I recall is painful to get working. It may 'work fine' for you because of the pain I went through back in the day.
Besides the fact that it is for Oracle 7, I don't think that stage is even documented anywhere, at least not anywhere I could find. And from what I recall is painful to get working. It may 'work fine' for you because of the pain I went through back in the day.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers