Support for table variable on sql optimizer for sql server

select
a.*
from
factura a
join
@tbl b
on
a.idcliente = b.idcliente
and a.idfactura = b.idfactura

image