SQLColumns (MySQL 4.0.12)
am 17.05.2003 10:49:13 von Ludvig Pedersen------=_NextPart_000_0005_01C31C61.F47416C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,=20
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,
Ludvig Pedersen
------=_NextPart_000_0005_01C31C61.F47416C0--