摘要:
View Code --查询所有数据库use masterselect * from sysdatabases where dbid>4;--系统自带的数据库分别是master->1,model->3,msdb->4,tempdb->2--查询数据库中所有数据库(存储过程)exec sp_helpdb;--查询指定数据库中的表use masterselect * from sysobjects where xtype='u' ;if object_id('#test1') is not nulldrop table #test1go 阅读全文
posted @ 2012-05-02 16:59
楠木大叔
阅读(306)
评论(0)
推荐(0)

浙公网安备 33010602011771号