On Tue, 16 Dec 2014 08:27:33 GMT, "Rudolf Grauberger" <rud...@grauberger.org> wrote: > I would like to read the table aliases, here I found out that I need to > call the function isc_dsql_sql_info () with the parameter > isc_info_sql_relation_alias. > > However, I have not figured out which parameters I need to call this > function and how do I read the information. > > I already have at google, bing, etc. after the keywords > "isc_info_sql_relation_alias" and "isc_dsql_sql_info" searched but no > possible implementation/documentation found that I could take as a > reference. > > I have looked into the source code of IBPP and the points at which the > function isc_dsql_sql_info with isc_info_sql_get_plan, > isc_info_sql_stmt_type or isc_info_sql_records called, the information will > always be read differently. It looks to me as though I need to know exactly > how I need to read the information to isc_info_sql_relation_alias. > > Is there somewhere a "reference" / example or documentation as the > information read?
For an example of processing the info response look at the Jaybird sources, org.firebirdsql.gds.ng.StatementInfoProcessor (at http://sourceforge.net/p/firebird/code/HEAD/tree/client-java/trunk/src/main/org/firebirdsql/gds/ng/StatementInfoProcessor.java ) If you need more information, let me know. Mark ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel