Is there any way to Truncate a Variable table i.e.
declare @t table
insert into @t
select someField from someTable
truncate table @t
--this generates an error -- I am trying to avoid using the delete if I can
I am only doing this for better efficiency as I understand truncating a table is faster than deleting the records in a table -- all help appreciated