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/alter-model-modify-version below:

Website Navigation


ALTER MODEL … MODIFY VERSION

ALTER MODEL … MODIFY VERSION

Modifies a version of a model, changing the version’s comment or metadata.

See also:

ALTER MODEL … ADD VERSION, ALTER MODEL … DROP VERSION

Syntax
ALTER MODEL [ IF EXISTS ] <name> MODIFY VERSION <version_or_alias_name> SET
  [ COMMENT = '<string_literal>' ]
  [ METADATA = '<json_metadata>']

Copy

Parameters
name

Specifies the identifier of the model.

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.

For more information, see Identifier requirements.

version_or_alias_name

Specifies the identifier of the version, either its version name or its alias. Version names that contain spaces or that are case sensitive must be enclosed in double quotes. For information on identifier syntax, see Identifier requirements.

Aliases must be valid identifiers without double quotes.

See Usage Notes for more information on aliases.

SET ...

Specifies one or more model version properties to be set.

COMMENT = 'string_literal'

Sets the comment of the version.

METADATA = 'json_metadata'

Sets the metadata of the version. Metadata is a JSON object that stores key-value pairs of your choosing.

Usage notes

Aliases are alternative names for model versions. In addition to aliases you create, the following three system aliases are available.


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