2016年3月20日 星期日

[SQL] 隨機取N筆資料 NEWID

Select Top 10 * From Data Where Status=1 Order By NEWID()

沒有留言:

張貼留言