sql 随机读取记录语句RAND()与newid()
sql 随机读取记录语句rand()与newid()
mysql教程有人随机函数 rand()
如
select * from a order by rand();
mssql newid()
select * from a order by newid;
收藏文章
精彩图集
精彩文章
sql 随机读取记录语句rand()与newid()
mysql教程有人随机函数 rand()
如
select * from a order by rand();
mssql newid()
select * from a order by newid;
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229