abenitez77
IS-IT--Management
I want to run a select command on a table against a value in a variable
Declare @TableNameHeader as varchar(100)
set @TableNameHeader = 'Header1,Header2,Header3'
Select * from nj_toys_claims.dbo.tblTables where TableName IN(@TableNameHeader)
I get no records returned and the 3 values exist in the table.
Declare @TableNameHeader as varchar(100)
set @TableNameHeader = 'Header1,Header2,Header3'
Select * from nj_toys_claims.dbo.tblTables where TableName IN(@TableNameHeader)
I get no records returned and the 3 values exist in the table.