View SQL Grammar
View objects support the listed SQL grammar for DDL workloads.
Oracle AI Data Platform Workbench supports all standard Spark SQL data types. For more information, see Apache Spark Documentation - Supported Data Types.
| Operation | Grammar | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Create View | CREATE VIEW [IF NOT EXISTS]
<<catalog_name.schema_name.view_name>> as select ... from
table[TBLPROPERTIES ( DESCRIPTION = 'some-description',
'<property-name>'='<property-value>'[, ...])
] |
||||||||||||||||
| Alter View (Coming Soon) | Rename view
|
||||||||||||||||
| Delete View | DROP VIEW [IF EXISTS]
<<catalog_name.schema_name.view_name>> |
||||||||||||||||
| List Views | SHOW VIEWS FROM
<<catalog_name.schema_name>>Response:
|
||||||||||||||||
| Describe a view | DESCRIBE VIEW
<<catalog_name.schema_name.view_name>>Response :
|