information_schema.views.view_definition

mysql

type: LONGTEXT NULL
8
type: LONGTEXT NOT NULL
5.7

mariadb

type: NULL
Note:
Definition of the view.
© 2022 MariaDB
5.1-10.8
type: LONGTEXT NOT NULL
Note:
Definition of the view.
© 2022 MariaDB
10.2-10.7

tidb

type: LONGBLOB NOT NULL
Note:
The definition of view, which is made by the SELECT statement when the view is created.
© 2022 PingCAP
4-6.1

postgres

type: CHARACTER_DATA NULL
Note:
Query expression defining the view (null if the view is not owned by a currently enabled role)
© 1996-2022 The PostgreSQL Global Development Group
10-15
type: CHARACTER_DATA
Note:
Query expression defining the view (null if the view is not owned by a currently enabled role)
© 1996-2022 The PostgreSQL Global Development Group
8.2-9.6

cockroachdb

type: unknown
Note:
AS clause used to create the view.
© 2022 CockroachDB
1-21.2

mssql

type: NVARCHAR(4000) NULL
Note:
If the length of definition is larger than nvarchar(4000), this column is NULL. Otherwise, this column is the view definition text.
© Microsoft 2022
aps-pdw-2016-sql-server-ver15