SQLGetDescRec returns no reasonable values wheras SQLDescribeParam is working well [ODBC158]
firebird-automations opened this issue · 1 comments
firebird-automations commented
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 commented
Modified by: @alexpotapchenko
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.0.6 [ 10851 ]