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.