Subject | can isc_dsql_describe_bind(...) be used to retrieve field name(s)? |
---|---|
Author | georg_ritter@hotmail.com |
Post date | 2001-03-22T08:16:40Z |
Hi,
I am using the Interbase API to run an Insert statement, exactly as
desribed in the API Guide, Chapter 6, "Method2:Non-query statements
with parameters" (p98 ff)
Calling isc_dsql_describe_bind(...) with a supplied input descriptor
XSQLDA (in_sqlda), I would like to retrieve not only the SQL type and
length, but also the name (sqlname in the XSQLVAR structure).
Is isc_dsql_describe_bind(...) supposed to fill that information in
the in the input XSQLDA ?
The functions only fills in sqltype and sqllen in my test program, and
I am not sure if it should provide the sqlname as well.
Thanks,
Georg Ritter
I am using the Interbase API to run an Insert statement, exactly as
desribed in the API Guide, Chapter 6, "Method2:Non-query statements
with parameters" (p98 ff)
Calling isc_dsql_describe_bind(...) with a supplied input descriptor
XSQLDA (in_sqlda), I would like to retrieve not only the SQL type and
length, but also the name (sqlname in the XSQLVAR structure).
Is isc_dsql_describe_bind(...) supposed to fill that information in
the in the input XSQLDA ?
The functions only fills in sqltype and sqllen in my test program, and
I am not sure if it should provide the sqlname as well.
Thanks,
Georg Ritter