Scott,
the INFORMATION_SCHEMA sample works with pure SQL. Just run the query and substitute parameters:
select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where TABLE_SCHEMA = ? and TABLE_NAME = ?
Tim just wrote a COS wrapper to output the column names as a string.
- Log in to post comments
