dbTalk Databases Forums  

New BLOB in AFTER UPDATE trigger

comp.database.oracle comp.database.oracle


Discuss New BLOB in AFTER UPDATE trigger in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neil
 
Posts: n/a

Default New BLOB in AFTER UPDATE trigger - 01-05-2004 , 11:10 AM






I am trying to add a logging facility to an application I am working
on which will keep the history of blobs. The problem is that I want to
throw an error when the :NEW.BLOB_FIELD is empty - ie When
DBMS_LOB.GETLENGTH is 0. However the data always returns 0 in the
After Update trigger - making my task seem impossible at the moment. I
can get it for the OLD value - but not the new one (which is no use to
me - it's too late when the blob field is empty already)

Regards

Neil Danson

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.