Guest User

Untitled

a guest
Nov 16th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. create table testtable(
  2. product_no int not null,
  3. product_name varchar(30) not null,
  4. price money null,
  5. expire_date date null,
  6. expire_time time(7) null)
  7. ;
  8.  
  9. create trigger testtrigger on testtable
  10. aftter insert,update
  11. as
  12. price=1
  13. ;
  14. go
  15.  
  16. insert into testtable(poduct_no,product_name) values(1,'my product')
  17. ;
Add Comment
Please, Sign In to add comment