nerdalert1
Programmer
How can I set this into a declared variable so I can use this in an IN Statement
DELCARE @CustList AS varchar(50)
SET @CustList = '1','2','3','4'
SELECT * from tblCustomer where CustNumb IN (@CustList)
DELCARE @CustList AS varchar(50)
SET @CustList = '1','2','3','4'
SELECT * from tblCustomer where CustNumb IN (@CustList)