摘要: View Code --返回所有数据库的ID信息sp_helpdb--返回当前数据库的IDselectDB_ID()--返回指定名称数据库的IDselectDB_ID('AdventureWorks')--6--file_id的获得sp_helpfile--返回指定名称表的IDselectfile_id('AdventureWorks_Data')--1DBCC IND(['database name'|database id], -- the database to usetable name, -- the table name to lis 阅读全文
posted @ 2011-07-26 11:03 cnby 阅读(241) 评论(0) 推荐(0) 编辑