摘要: 从存储过程返回非表类型的值有二种方法:1.存储过程使用return语句返回值.此种情况下,接收该存储过程值的方法是:delcare @ReturnValue int /*(与存储过程return语句返回值的类型相同)*/exec @ReturnValue = StoredProc /*StoredP 阅读全文
posted @ 2018-09-27 17:01 CC小家 阅读(250) 评论(0) 推荐(0) 编辑
摘要: --判断是否存在addOneArticle这个存储过程 if Exists(select name from sysobjects where NAME = 'addOneArticle' and type='P') drop procedure addOneArticle--判断是否存在count 阅读全文
posted @ 2018-09-27 16:14 CC小家 阅读(390) 评论(0) 推荐(0) 编辑