COLUMNS

This view stores information about each column.

Column Name

Description

TABLE_CATALOG

The name of the catalog related to the table a given column belongs to.

TABLE_SCHEMA

The name of the related database (schema) for a given column.

TABLE_NAME

The name of the table a given column belongs to.

COLUMN_NAME

The name of the column.

ORDINAL_POSITION

The position of a given column among others in the table.

COLUMN_DEFAULT

The default value of a given column.

IS_NULLABLE

This value is YES if NULL values can be stored in the column, and NO if NULL values cannot be stored in the column.

IS_SPARSE

Whether or not sparse compression is used on a given column.

DATA_TYPE

The data type of a given column.

CHARACTER_MAXIMUM_LENGTH

The maximum number of characters for a given string column.

CHARACTER_OCTET_LENGTH

The maximum length, in bytes, for a given string column.

NUMERIC_PRECISION

The numeric precision (maximum number of digits present in a number) for a given column.

NUMERIC_SCALE

The numeric scale (maximum number of digits to the right the decimal point in a number) for a given column.

CHARACTER_SET_NAME

The name of the character set of a given column.

COLLATION_NAME

The collation name for the character set of a given column.

COLUMN_TYPE

The data type of a given column.

COLUMN_KEY

If this column is empty, the column is not indexed or the secondary column is a non-unique index. If the value in this column is MUL, multiple occurrences of the same value are allowed, and the column is the first included in a non-unique index. If the value of this column is PRI, it is either a primary key or one of multiple columns in a primary key. If the value of this column is UNI, it is the first column included in a unique index.

EXTRA

Whether a given column was created with additional options such as auto_increment, that are included in the column_definition section of the CREATE TABLE syntax.

PRIVILEGES

The privileges the current user has for a given column.

COLUMN_COMMENT

Comments (if any) from the definition of a given column.

DATETIME_PRECISION

The fractional-seconds precision of the column: 0 for DATETIME and 6 for DATETIME(6) columns, or NULL if the column not a time data type.

Last modified: February 6, 2023

Was this article helpful?

Verification instructions

Note: You must install cosign to verify the authenticity of the SingleStore file.

Use the following steps to verify the authenticity of singlestoredb-server, singlestoredb-toolbox, singlestoredb-studio, and singlestore-client SingleStore files that have been downloaded.

You may perform the following steps on any computer that can run cosign, such as the main deployment host of the cluster.

  1. (Optional) Run the following command to view the associated signature files.

    curl undefined
  2. Download the signature file from the SingleStore release server.

    • Option 1: Click the Download Signature button next to the SingleStore file.

    • Option 2: Copy and paste the following URL into the address bar of your browser and save the signature file.

    • Option 3: Run the following command to download the signature file.

      curl -O undefined
  3. After the signature file has been downloaded, run the following command to verify the authenticity of the SingleStore file.

    echo -n undefined |
    cosign verify-blob --certificate-oidc-issuer https://oidc.eks.us-east-1.amazonaws.com/id/CCDCDBA1379A5596AB5B2E46DCA385BC \
    --certificate-identity https://kubernetes.io/namespaces/freya-production/serviceaccounts/job-worker \
    --bundle undefined \
    --new-bundle-format -
    Verified OK