From: John B. <joh...@ho...> - 2005-02-23 15:37:25
|
hm...@gm... wrote: > I am trying to find out during compile time whether the parameter/s of a > given procedure is/are input, output or input/output... Just call SQLProcedureColumns, which returns a result set describing the procedure arguments. The 5th column is COLUMN_TYPE, which can be one of SQL_PARAM_INPUT, SQL_PARAM_OUTPUT, etc. You can then SQLBindParameter appropriately. |