- 论坛徽章:
- 0
|
本帖最后由 baiyso 于 2010-12-25 00:52 编辑
用informix csdk 3.5 for linux开发的esqlc程序,访问sco unix下的informix7.31数据库,
记录都已经查询出来了,最后却报错了:SQLCODE=-400,应该是sqlcode=100啊!求助!
-400 Fetch attempted on unopen cursor.
This FETCH statement names a cursor that has never been opened or has
been closed. Review the program logic, and check that it will open the
cursor before this point and not accidentally close it. Unless a cursor
is declared WITH HOLD, it is automatically closed by a COMMIT WORK or
ROLLBACK WORK statement. |
|