Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

CLI - Table name of colname after SQLDescribeCol

From: Horstmann, Dirk <Dirk.Horstmann(at)wincor-nixdorf.com>
Date: Tue Jul 17 2007 - 06:53:35 EDT


Hi.
I have a problem.
I need after...  

select * from table1, table 2
...SQLDescribeCol(hstmt, i, colname, sizeof(colname), &colnamelen,
&coltype, &colSize,&colScale, NULL);
...
 

the table name from the colname.  

SQLColAttribute(hstmt,i,SQL_DESC_TABLE_NAME ,tabname,sizeof(tabname),&l,NULL);  

doesn't work. tabname = ""  

How can i get the tablename ??

M.f.G. D. Horstmann   Received on Tue Jul 17 06:53:52 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:30:26 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library