|
-
createTrigger
hi all i have a proble creating atrigger
here ar my tables
1- product
productid (primary)
price
...
2-orderline
orderID(foreign to order table)
productid(foreign to product table)
priceperunit
...
3-order
orderid(primary)
customerid(foreign to customer table)
salesmanid(foreign to employee table)
4-customer
customerid (primary key)
...
now i have to create a trigger that when a new product inserted
every customer will receive one with a price of 0
how can i create this one coz as you see there are 2 tables between product and customer
thx
-
what database are you using?
-
-
 Originally Posted by mike009
Ms Sql Server
What version?
-
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks