mssql查询视图和存储过程等的创建脚本
摘要: select text from syscomments where id =(select id from sysobjects where name='vw_orderitem'--vw_orderitem为视图的名称)可以查询表名,视图名,存储过程名等select * from sysobjects --where xtype='U' --表名--where xtype='V' --视图名-...阅读全文
posted @ 2010-07-30 15:31 生命体验之kevin-Y 阅读(42) | 评论 (0) 编辑
