You reference a table variable like you reference a table.
Select Field1, Field2
From @recordItem
Where field1=1
Update @recorditem
Set field2=92
Where field1=3
Insert @recorditem (field1, field2)
Values (1, 45) Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.