摘要:
*查询第一条记录:select top 1 * from tablename*随机查询N条记录:select top N * from table order by newid()*判断数据库是否存在:if exists(select * from master..sysdatabases where name='database')*查看数据所有用户表:select * from sy... 阅读全文
posted @ 2008-04-10 14:09 X龙 阅读(285) 评论(0) 推荐(1) 编辑