I\'m trying to display all the employee id\'s
i need the result like
emp_id 10,11,12,13,14,15..,...
when tried
try this
declare @empid nvarchar(500)='' select @empid=@empid+Emp_id + ',' from tblemployee select substring(@empid,0,len(@empid)-1)