X龙@China .Net 'blog

需要的不仅仅是工作,而是通过努力得来的美好将来。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年4月10日

摘要: *查询第一条记录: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龙 阅读(283) 评论(0) 推荐(1) 编辑

点击这里给我发消息http://wp.qq.com/index.html