Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » String Functions » CURRENT_COMPUTER |
CURRENT_COMPUTER()
VARCHAR
-- This trigger logs information about -- inserts, updates, and deletes, -- including the computer the executed the -- operation CREATE TRIGGER "LogValues" AFTER ALL ON "customer" BEGIN IF OPERATION() IN ('Insert','Update') THEN EXECUTE IMMEDIATE 'INSERT INTO AuditLog (Operation, Computer, Value) VALUES (?,?,?)' USING OPERATION(), CURRENT_COMPUTER(), NEWROW.MyColumn; ELSE IF OPERATION()='Delete' THEN EXECUTE IMMEDIATE 'INSERT INTO AuditLog (Operation, Computer, Value) VALUES (?,?,?)' USING OPERATION(), CURRENT_COMPUTER(), OLDROW.MyColumn; END IF; END
Deviation | Details |
Extension | This function is an ElevateDB extension. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |