Posted by: NepaliBhai August 28, 2014
Login in to Rate this Post:
0
?
Here it is.
create table #table1(steps int)
insert into #table1(steps)values(1)
insert into #table1(steps)values(3)
insert into #table1(steps)values(4)
insert into #table1(steps)values(5)
SELECT cast(steps as varchar) + ',' FROM #table1 ORDER BY NEWID()
drop table #table1
create table #table1(steps int)
insert into #table1(steps)values(1)
insert into #table1(steps)values(3)
insert into #table1(steps)values(4)
insert into #table1(steps)values(5)
SELECT cast(steps as varchar) + ',' FROM #table1 ORDER BY NEWID()
drop table #table1