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 |
argate7
Starting Member
7 Posts |
Posted - 2009-04-13 : 05:09:24
|
Hi..I'm using the trigger below and i have a problem.create trigger OrdersNotDiscon OrderDetailsfor insert,updateasif exists (select 'true' from inserted where inserted.ItemNo = Items.ItemNo and Items.ItemDiscontinued =1)beginRaiserror('Order Item discontinued. Tsansaction Cancelled',10,1)rollbackendthe problem that i'm facing is :Msg 4104, Level 16, State 1, Procedure OrdersNotDisc, Line 5The multi-part identifier "Items.ItemNo" could not be bound.Msg 4104, Level 16, State 1, Procedure OrdersNotDisc, Line 5The multi-part identifier "Items.ItemDiscontinued" could not be bound.So now what can i do? Does anybody know? Thank you very much. |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-04-13 : 13:11:57
|
what exactly are you trying to do? |
 |
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
|
|
|
|