关键:
NewID():
返回一个 GUID,如:0F9D0E5D-4CEF-4323-8FD5-F19353F84295;
相当于返回一个随机数
随机的实现
SQL 语句:select *, NewID() as random from table order by random
关键:
NewID():
返回一个 GUID,如:0F9D0E5D-4CEF-4323-8FD5-F19353F84295;
相当于返回一个随机数
随机的实现
SQL 语句:select *, NewID() as random from table order by random