Hi, I am trying to use 'Table' variable to delete some records from another table. Following are the steps: 1. Declare @t1 as Table 2. Insert records @t1 3. Delete records from a Table TbResource using the following query: Delete TbResource From TbResource AS tr Inner Join @t1 AS t1 on tr.c1 = t1.c But this delete query takes lot of time, even if there are just 20 records in @t1. Question : 1. I am unable to figure out the problem. Can someone help me by suggesting the better way. 2. How does 'Table' variable store the data.