随笔分类 - mssql
摘要:查询所有的存储过程哪些中包含某个字符串select sysobjects.name, sysobjects.id,syscomments.text from sysobjects,syscomments where sysobjects.id=syscomments.id and syscomments.text like '% f_split_2%'select sysobjects.name, sysobjects.id,syscomments.text from sysobjects,syscomments where sysobjects.id=syscomments.
阅读全文
摘要:常用格式 Create procedure procedure_name [@parameter data_type][output] [with]{recompile|encryption} as sql_statement 解释: output:表示此参数是可传回的 with {recompile|encryption} recompile:表示每次执行此存储过程时都重新编译一次 encryption:所创建的存储过程的内容会被加密 如: 表book的内容如下 编号 书名 价格 001 C语言入门 $30 002 PowerBuilder报表开发 $52 实...
阅读全文
浙公网安备 33010602011771号