Quantcast
Channel: trigger update com if update
Viewing all articles
Browse latest Browse all 3

trigger update com if update

$
0
0

Tente fazer algo a partir disso:

IF UPDATE (campoProibido) 
BEGIN

update t

set campoProibido = deleted.campoProibido 

from  tabela t

inner join deleted 

on t.ID=deleted.ID

END 

     


Danilo Rodrigues


Viewing all articles
Browse latest Browse all 3


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>