SHARE
TWEET

Untitled

a guest Apr 26th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Create trigger maakonnaUuendus
  2.   ON maakond
  3.   FOR UPDATE
  4.   AS
  5.   INSERT into logi(aeg, toiming, andmed)
  6.   SELECT GETDATE(), 'andmed on muudetud',
  7.   CONCAT('vana maakond ', deleted.maakond, ' on muudetud ', inserted.maakond )
  8.   from deleted
  9.   INNER JOIN inserted ON deleted.maakondID=inserted.maakondID
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top