469,603 Members | 2,285 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

Bound parameters failure (SQLBindParameter) using ODBC

Using SQLBindParameter, I bind buffers to a prepared statement. Next
time this statement is used I just replace the values in the buffer
(not calling SQLBindParameter). This works fine when used within the
same method. But the use of this statement can happen from several
places in my code. When calling the statement a second time, the
SQLExecute fails with return code SQL_NEED_DATA. The buffers are still
valid and I haven't called anything else than
SQLFreeStmt(theStatement, SQL_CLOSE) on the statement. Why does
SQLExecute return SQL_NEED_DATA?
Jul 20 '05 #1
0 1620

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Zlatko Matić | last post: by
2 posts views Thread by =?Utf-8?B?TXIgQg==?= | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.