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-issue-importer opened this issue Feb 5, 2013 · 1 comment

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Feb 5, 2013

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

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

Successfully merging a pull request may close this issue.

None yet
2 participants