Hi All
I need some help again. I am using a instead of insert to update and insert records. When I am doing multiple records i get am error
Subquery returned more than 1 value. This is not permitted when the
subquery follows =, !=, <, <=, <, >= or when the subquery is used as an
expression.
So i am thinking of using a cursor to do this.
Am i right in wanting to use a cursor or is there some other way in achieving this
I was using a table variable in the stored procedure
the insert statement in the store procedure looks like this
INSERT Customer
Select * FROM @Table
this then fires the instead on insert trigger
thanks in advance
I need some help again. I am using a instead of insert to update and insert records. When I am doing multiple records i get am error
Subquery returned more than 1 value. This is not permitted when the
subquery follows =, !=, <, <=, <, >= or when the subquery is used as an
expression.
So i am thinking of using a cursor to do this.
Am i right in wanting to use a cursor or is there some other way in achieving this
I was using a table variable in the stored procedure
the insert statement in the store procedure looks like this
INSERT Customer
Select * FROM @Table
this then fires the instead on insert trigger
thanks in advance
Comment