Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Employee Status

$
0
0

Hi I am trying to solve a problem for a project and need some help

I need to create a trigger to stop an insert into salary table if the employee status is inactive. 

Employee
empno
ename
status
1078465200
ken
active
2090897300
jen
active
3678888900
izu
inactive
 
Salary
syno
Amount
empno
4009876660
800000
1078465200
5076545600
899000
2090897300


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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