Randomize N records from the database

xiaoxiao2021-03-06  82

Access: select top n * from table ORDER BY RND (ID) 'ID Auto Number Field for Database

SQL Server: SELECT TOP N * from Table ORDER BY NewID ()

Go to Liu Jun's blockttp: //blog.9cbs.net/liujun999999/archive/2004/11/177657.aspx

转载请注明原文地址:https://www.9cbs.com/read-88856.html

New Post(0)