会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
苍马之子
败人两字 非傲即惰
博客园
首页
新随笔
联系
管理
订阅
2009年11月5日
存储过程中将查询语句结果赋值给变量
摘要: create procedure procname AS declare @recount int select @recount=count(id) from school --最关键在这句 select @recount=count(id) from school select @recount=select count(id) from school -- 错误:这里就不再需要select...
阅读全文
posted @ 2009-11-05 15:22 苍马之子
阅读(21824)
评论(2)
推荐(0)
编辑
公告