Results Sets for sp_columns

The table shows the results sets.

Column

Datatype

Description

table_qualifier

varchar(32)

Always NULL.

table_owner

varchar(32)

The table owner. If no value was specified for the table_owner parameter, this value is the current owner.

table_name

varchar(32)

The table name.

column_name

varchar(32)

The column name.

data_type

smallint

Integer code for ODBC datatype. If this is a datatype that cannot be mapped into an ODBC type, it is NULL.

type_name

varchar(30)

String representing a datatype. The underlying DBMS presents this datatype name.

precision

int

Number of significant digits.

length

int

Length, in bytes, of a datatype.

scale

smallint

Number of digits to the right of the decimal point.

radix

smallint

Base for numeric datatypes.

nullable

smallint

The value 1 means NULL is possible; 0 means NOT NULL.

remarks

varchar(254)

ss_data_type

smallint

An Adaptive Server datatype.

colid

tinyint

The column ID.

remote_data_type

The Oracle datatype