SHOW NOTEBOOK PROJECTS

statementsupportedContainer services & dev tooling

docs.snowflake.com ↗

Object: NOTEBOOK PROJECT

Note Notebook Project Objects have been renamed to Code Bundles. The NOTEBOOK PROJECT grammar on this page continues to work. For the current command and its new capabilities, see SHOW CODE BUNDLES and Snowflake Code Bundles. Lists the notebook projects (Snowflake NOTEBOOK objects) visible to the current role. You can use this command to list objects in the current database and schema for the session, a specified database or schema, or your entire account. The output includes the metadata and properties for each object. The objects are sorted lexicographically by database, schema, and object name (see Output in this topic for descriptions of the output columns). The order of rows in the results is important to note if you want to filter the results.

Syntax

supportedpartialnot supportednot scored

SHOW NOTEBOOK PROJECTS;

SHOW NOTEBOOK PROJECTS IN SCHEMA <database_name>.<schema_name>;

SHOW NOTEBOOK PROJECTS IN DATABASE <database_name>;

SHOW NOTEBOOK PROJECTS IN ACCOUNT;

Parameters

NameRequiredDescription
IN SCHEMA <database_name>.<schema_name>Lists notebook projects in the specified schema.
IN DATABASE <database_name>Lists notebook projects in all schemas of the specified database.
IN ACCOUNTLists all notebook projects in the account that are visible to the current role.

Usage notes

Output

The output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description created_on | Timestamp of creation. name | Name of the notebook project. database_name | Database containing the notebook project. schema_name | Schema containing the notebook project. owner | The role that owns the notebook project. comment | Comment associated with the notebook project.

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes USAGE or OWNERSHIP | Database | OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the GRANT OWNERSHIP command to a different role by the owning role (or any role with the MANAGE GRANTS privilege). USAGE or OWNERSHIP | Schema | OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the GRANT OWNERSHIP command to a different role by the owning role (or any role with the MANAGE GRANTS privilege). For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also

Referenced by