The Information_Schema Column_Privileges; Table - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

INFORMATION_SCHEMA
NUMERIC_PRECISION
NUMERIC_SCALE
CHARACTER_SET_NAME
COLLATION_NAME
COLUMN_TYPE
COLUMN_KEY
EXTRA
PRIVILEGES
COLUMN_COMMENT
Notes:
• In SHOW, the
ORDINAL_POSITION
ORDINAL_POSITION. Unlike SHOW,
CHARACTER_OCTET_LENGTH
multi-byte character sets.
CHARACTER_SET_NAME
COLUMNS FROM
character set is what is before the first underscore: latin1.
The following statements are nearly equivalent:
SELECT COLUMN_NAME, DATA_TYPE, IS_NULLABLE, COLUMN_DEFAULT
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'tbl_name'
[AND table_schema = 'db_name']
[AND column_name LIKE 'wild']
SHOW COLUMNS
FROM
tbl_name
[FROM db_name]
[LIKE 'wild']
19.5. The
INFORMATION_SCHEMA COLUMN_PRIVILEGES
The
COLUMN_PRIVILEGES
from the
mysql.columns_priv
INFORMATION_SCHEMA
GRANTEE
TABLE_CATALOG
TABLE_SCHEMA
TABLE_NAME
COLUMN_NAME
PRIVILEGE_TYPE
IS_GRANTABLE
Notes:
The
INFORMATION_SCHEMA COLUMN_PRIVILEGES
Name
display includes values from several different
Type
is necessary because you might want to say
should be the same as CHARACTER_MAXIMUM_LENGTH, except for
can be derived from Collation. For example, if you say
t, and you see in the
table provides information about column privileges. This information comes
grant table.
Name
Name
SHOW
Type
Type
Collation
Type
Key
Extra
Privileges
Comment
does not have automatic ordering.
SELECT
column a value of latin1_swedish_ci, the
Collation
Name
SHOW
1719

Table

Remarks
MySQL extension
MySQL extension
MySQL extension
MySQL extension
MySQL extension
columns.
COLUMNS
ORDER BY
SHOW FULL
Table
Remarks
'user_name'@'host_name'
value
NULL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents