View Single Post

   
  #1 (permalink)  
Old 02-29-2008, 02:22 AM
rozrabiak
 
Posts: n/a
Default trigger before delete in firebird or mssql

Hi everybody!
I need create trigger in firebird and mssql.
The trigger must do this:

If someone try to delete record in table "mast_trans" and if column "ID"
is equal 145 delete cannot be executed otherwise perform delete.

How can I do this? My books dont have any examples for this

Thanks for help, greetings, gregory.
Reply With Quote