Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLGetDescRec returns no reasonable values wheras SQLDescribeParam is working well [ODBC158] #153

Closed
firebird-automations opened this issue Feb 5, 2013 · 1 comment

Comments

@firebird-automations
Copy link

Submitted by: Jojakim Stahl (jstahl)

There is a difference in behavior between SQLDescribeParam and SQLGetDescRec.
SQLDescribeParam returns valid data whereas SQLGetDescRec for an IPD returns unreasonable, perhaps default, data, both called after SQLPrepare with a statement like "insert into tab1 values (?, ?, ?)".

MS states in the docu:

SQLDescribeParam returns the description of a parameter marker associated
with a prepared SQL statement. This information is also available in the
fields of the IPD.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms710188(v=vs.85).aspx

@firebird-automations
Copy link
Author

Modified by: @alexpotapchenko

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.6 [ 10851 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants