| 发表于:2007-02-06 22:41:01 楼主 |
在vb中有ado执行下面sql语句: strsql= "select skh, sxm from v_gzmxzl2 where (sksrq= '2007-02-13 ') and (sjsrq= '2007-02-13 ') and (szh is not null) and (stsr is null) and order by skh " sql语句在sql server的查询器中可以很好的执行。 但是在vb执行时。运行到下面这一句 rs.open strsql, cndb, adopenstatic, adlockoptimistic 总是出现cpu占用率100%的情况。 不知问题出在那?请大家帮忙看看是怎么回事 |
|
|
|
|