I've taken the code below from this site, it is from a store procedure example. Is there any reason why this would not also work for an INSERT Trigger? I'm trying but I keep getting the message that I must declasre the variable first.
declare @my_var VARCHAR(35)
select @my_var=CUST_NAME_S from CUSTOMER
---PRINT @my_var
thanks
Jim
declare @my_var VARCHAR(35)
select @my_var=CUST_NAME_S from CUSTOMER
---PRINT @my_var
thanks
Jim