diff --git a/test/src/deprecated-test.c b/test/src/deprecated-test.c index 3e6a1fd..c359dd9 100644 --- a/test/src/deprecated-test.c +++ b/test/src/deprecated-test.c @@ -200,8 +200,8 @@ main(int argc, char **argv) for (i = 0 ; i < 2; i++) { char buffer[64]; - rc = SQLColAttribute(hstmt, (SQLUSMALLINT) i + 1, - SQL_DESC_LABEL, buffer, 64, NULL, NULL); + rc = SQLColAttributes(hstmt, (SQLUSMALLINT) i + 1, + SQL_COLUMN_LABEL, buffer, 64, NULL, NULL); CHECK_STMT_RESULT(rc, "SQLColAttribute failed", hstmt); printf("Column %d: %s\n", i + 1, buffer); }