What does the select statement do below and what does the declared variable do in that statement? I seen it being used with "WHERE" as well. Thx, Ik.
========================================================
declare @vID int
select @vID = CustomerID from tblCustomer
========================================================
declare @vID int
select @vID = CustomerID from tblCustomer