Hi,

A table variable just exists until a go or exec command are executed. You have to create a temp table.

/Mats