A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/en/developer-guide/python-connector/../../sql-reference/sql/desc-view below:

DESCRIBE VIEW | Snowflake Documentation

Reference SQL command reference Tables, views, & sequences DESCRIBE VIEW DESCRIBE VIEW

Describes the columns in a view (or table).

DESCRIBE can be abbreviated to DESC.

See also:

DROP VIEW , ALTER VIEW , CREATE VIEW , SHOW VIEWS

DESCRIBE TABLE

Syntax Parameters
name

Specifies the identifier for the view to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage notes Examples

Example setup:

CREATE VIEW emp_view AS SELECT id "Employee Number", lname "Last Name", location "Home Base" FROM emp;

Copy

Describe the view:

DESC VIEW emp_view;

+-----------------+--------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------+-----------------+
| name            | type         | kind   | null? | default | primary key | unique key | check | expression | comment | policy name |  privacy domain |
|-----------------+--------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------+-----------------+
| Employee Number | NUMBER(38,0) | COLUMN | Y     | NULL    | N           | N          | NULL  | NULL       | NULL    | NULL        | NULL            |
| Last Name       | VARCHAR(50)  | COLUMN | Y     | NULL    | N           | N          | NULL  | NULL       | NULL    | NULL        | NULL            |
| Home Base       | VARCHAR(100) | COLUMN | Y     | NULL    | N           | N          | NULL  | NULL       | NULL    | NULL        | NULL            |
+-----------------+--------------+--------+-------+---------+-------------+------------+-------+------------+---------+-------------+-----------------+

Copy


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4