A. A. This is because you need to start the rand function off with a random number. Use something like :-
SELECT RAND( (DATEPART(mm, GETDATE()) * 100000 )
+ (DATEPART(ss, GETDATE()) * 1000 )
+ DATEPART(ms, GETDATE()) )
0 comments
Hide comments