1 message in com.mysql.lists.bugsSQLColumns (MySQL 4.0.12)
FromSent OnAttachments
Ludvig Pedersen17 May 2003 01:48 
Subject:SQLColumns (MySQL 4.0.12)
From:Ludvig Pedersen (pede@alfanett.no)
Date:05/17/2003 01:48:51 AM
List:com.mysql.lists.bugs

Hi,

I have used SQLColumns for previous versions of MySQL like for example 3.23.56.

However when I upgraded to 4.0.12 the SQLColumns does not work as before.

I can receive a complete table with all columns, but I can no longer get a
single column name.

Works:

SQLColumns(hstmt, NULL, 0, NULL, 0, (uchar*)"person", SQL_NTS, NULL, 0);

No longer works:

SQLColumns(hstmt, NULL, 0, NULL, 0, (uchar*)"person", SQL_NTS, (uchar*)"id",
SQL_NTS);

The result I get is an empty result set (NO_DATA)

Im using Windows XP, MyODBC v3.51, C++

Regards,