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.
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
The text was updated successfully, but these errors were encountered: