Respuesta: como uscar correctamente DECLARE DECLARE @Var1 varchar(100)
SET @Var1 = 'lop'
select * from tabla where valor=@Var1
go
prueba asi :)
saludos!
__________________ What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me |