存储过程开始处加:set nocount on
解决方案 »
- SQL 断言问题
- 查询出记录相似度的问题!!!!
- 如果让存储过程实现分时进行的效果,类似vb中的doevents的效果.
- 高手帮我看看 为什么会报这个错误
- MySql存储过程的问题
- 关于阻塞问题!
- [microsoft][odbc sql server driver][tcp/ip sockets]未找到指定的SQL SERVER
- 一断开网络就无法连接本机的SQLServer数据库,现在要拿本机去演示,没办法连网,怎么解决?
- 请问怎样用*.sql文件来生成数据库呢?多谢。
- 两台数据库服务器,同步时出错
- 我的SQL SERVER中的包,不能调度执行了。这是为什么。
- SQL Server2000 企业版有没有办法在98下安装
能详细一点吗?如何用,谢谢
select z1 into #临时表1 from t1 where 条件1
select z1 into #临时表2 from t1 where 条件2
select t1.id,(select top1 z1 from 临时表1 where 关联 ) as writer,
(select z1 from 临时表2 where 关联) as check
from t1 where 条件
SET NOCOUNT OFF
select z1 into #临时表1 from t1 where 条件1
select z1 into #临时表2 from t1 where 条件2
select t1.id,(select top1 z1 from 临时表1 where 关联 ) as writer,
(select z1 from 临时表2 where 关联) as check
from t1 where 条件
SET NOCOUNT OFF