[펌] SELECT를 할 때 Random하게 Sort하는 방법은?

  • Post author:
  • Post category:
  • Post comments:0 Comments
  • Post last modified:February 7, 2004

출처: http://cafe.naver.com/sqlserver/38

SELECT *
FROM Northwind..Orders
ORDER BY NEWID()

SELECT TOP 10 *
FROM Northwind..Orders
ORDER BY NEWID()

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.