Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
azim
Starting Member
29 Posts |
Posted - 2002-06-15 : 18:27:54
|
| I want Trigger to Check The Transactions Table when i want to delete Product from Products Table if there is at least one Transaction with this Product stop Delete Else DeleteThanks a lotazim |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-06-15 : 19:15:09
|
| A. You didn't list the structure(s) of your table(s), and without them there is no way anybody can help you.B. You don't need a trigger for this at all. Read Books Online about "foreign keys". |
 |
|
|
|
|
|