- 论坛徽章:
- 8
|
通过程序使用ODBC在执行一个insert操作时出错,相关信息如下:
STATE=60, CODE=-416, MSG=[DataDirect][ODBC 20101 driver][20101]USING option with open statement is invalid for insert cursor.
查了一下这个-416的错误代码:
-416 USING option with open statement is invalid for insert cursor.
This OPEN statement refers to a cursor that was declared for an INSERT statement. The USING clause of the OPEN is not appropriate in this case; it is only used to specify the variables that are used with a SELECT statement. Review the program to ensure that the correct cursor has been used in this statement. If it has, and if the INSERT statement is written as part of the DECLARE statement, you can name the host variables directly in it. If the INSERT statement has been prepared, you can specify the host variables in a FROM clause in the PUT statement.
IBM Informix Error Message
还是有些莫名其妙,请赐教! |
|