A RetroSearch Logo

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

Search Query:

Showing content from https://docs.snowflake.com/en/sql-reference/sql/create-dataset below:

Website Navigation


CREATE DATASET | Snowflake Documentation

CREATE DATASET

Creates a new machine learning dataset in the current schema or the schema that you specify.

See also:

ALTER DATASET , ALTER DATASET … ADD VERSION , ALTER DATASET … DROP VERSION, SHOW DATASETS

Syntax
CREATE [ OR REPLACE ] [ IF NOT EXISTS ] DATASET <name>

Copy

Required parameters
name

The name of the dataset that you’re creating within the current schema or a schema that you specify.

Access control requirements

A role used to execute this operation must have the following privileges at a minimum:

Privilege

Object

Notes

CREATE DATASET

Schema

Only provides the privilege to create a dataset. You must also have the USAGE privilege on the schema.

The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema.

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.

Usage notes Examples

The following example creates a dataset called my_dataset:

CREATE DATASET my_dataset;

Copy

The following example creates or replaces a dataset called my_dataset:

CREATE OR REPLACE DATASET my_dataset;

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