摘要: 如果我们的语句为:?12345678910111213IF NOT EXISTS(SELECT 1 FROM sys.views WHERE name='Report_IndividualTicket') BEGINcreate view Report_IndividualTicket asSELE... 阅读全文
posted @ 2014-11-05 17:15 振乾 阅读(4974) 评论(0) 推荐(0) 编辑
摘要: public string GetObjectTypeName(object oType){switch (oType+""){case "U":return "用户表";case "V":return "视图";case "P":return "存储过程";case "TF":return "表函... 阅读全文
posted @ 2014-11-05 17:14 振乾 阅读(832) 评论(0) 推荐(0) 编辑
摘要: create table tmp( name varchar(50), rowscount int, reserved varchar(50), data varchar(50), index_size varchar(50), unused varchar(... 阅读全文
posted @ 2014-11-05 17:10 振乾 阅读(3705) 评论(0) 推荐(0) 编辑