- 論壇徽章:
- 8
|
通過程序使用ODBC在執(zhí)行一個(gè)insert操作時(shí)出錯(cuò),相關(guān)信息如下:
STATE=60, CODE=-416, MSG=[DataDirect][ODBC 20101 driver][20101]USING option with open statement is invalid for insert cursor.
查了一下這個(gè)-416的錯(cuò)誤代碼:
-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
還是有些莫名其妙,請賜教! |
|