ssybase 发表于 2008-08-19 09:58

关于RESULT PENDING问题

ERP系统中有2个菜单,分别完成1个查询功能..

查询1 语句:
IF OBJECT_ID('#TMP1') is not null drop table #TMP1

...

DROP TABLE   #TMP1



查询2 语句:
IF OBJECT_ID('#TMP1') is not null drop table #TMP1

...

DROP TABLE   #TMP1

即2个查询用同1个临时表名, 打开第一个查询,且一直没有关闭, 执行第 查询2总是提示
cannot perform more than one read和
attempt to intiate a new sql server operation with results pendeng
这是什么原因?

chuxu 发表于 2008-08-19 16:47

查询是手工执行sql来完成的吗?还是使用应用程序?
2个查询是什么意思?2个客户端的连接?还是一个程序中执行2次?
页: [1]
查看完整版本: 关于RESULT PENDING问题