views:

19

answers:

1

How do I find out what the value of the COLUMN_TYPE returned from sp_getProcedureColumns? The value returned is an shortInt.

There is nothing in the documentation for this system procedure.

Thanks,

Howard

+1  A: 

It is equivalent to the ODBC function SQLProcedureColumns

Type = 1: Input

Type = 3: Result column, i.e. column in output cursor.

Those are the only two types that should be returned.

Alex W