declare @data table (val int); insert into @data values ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

declare @data table (val int); 

insert into @data values (1), (2), (3), (4), (5) 

select * from @data order by CRYPT_GEN_RANDOM(4)

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results