Subject | Blobs in Triggers |
---|---|
Author | Nigel Weeks |
Post date | 2005-08-03T03:15:12Z |
I'm having trouble detecting if a BLOB has changed in an update trigger.
I've tried the following:
If(NEW.blobfield != OLD.blobfield)THEN
If(cast(NEW.blobfield AS VARCHAR(32000)) != cast(OLD.blobfield AS
VARCHAR(32000))) THEN
And a few others, to no avail.
Is it even possible?
Nige.
Nigel Weeks
Tech Support & Systems Developer
nweeks@...
www.examiner.com.au
71 - 75 Paterson Street
Launceston
Tasmania 7250
Australia
Phone: 03 6336 7234
[Non-text portions of this message have been removed]
I've tried the following:
If(NEW.blobfield != OLD.blobfield)THEN
If(cast(NEW.blobfield AS VARCHAR(32000)) != cast(OLD.blobfield AS
VARCHAR(32000))) THEN
And a few others, to no avail.
Is it even possible?
Nige.
Nigel Weeks
Tech Support & Systems Developer
nweeks@...
www.examiner.com.au
71 - 75 Paterson Street
Launceston
Tasmania 7250
Australia
Phone: 03 6336 7234
[Non-text portions of this message have been removed]