Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » SQL/PSM Functions » OPERATION |
OPERATION()
VARCHAR Return values are case-sensitive and can be one of the following: Insert Update Delete
-- This trigger checks to see if the -- State column is filled in, and if not fills -- in the column with a default value. CREATE TRIGGER "SetDefaultValues" BEFORE ALL ON "customer" WHEN OPERATION() IN ('Insert','Update') BEGIN IF NEWROW.State IS NULL OR TRIM(BOTH ' ' FROM NEWROW.State)='' THEN SET NEWROW.State='NY'; 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 |