SHOW VERSIONS¶
列出在指定应用程序包中定义的版本。
语法¶
SHOW VERSIONS [ LIKE <pattern> ]
IN APPLICATION PACKAGE <name>;
参数¶
LIKE 'pattern'
(可选)按对象名称筛选命令输出。筛选器使用 不区分大小写 的模式匹配,并支持 SQL 通配符(
%
和_
)。例如,以下模式返回 相同的 结果:
... LIKE '%testing%' ...
... LIKE '%TESTING%' ...
. 默认:无值(不对输出应用筛选)。
IN APPLICATION PACKAGE name
指定要查看其版本的应用程序包的标识符。
示例¶
SHOW VERSIONS IN APPLICATION PACKAGE hello_snowflake_app;
+----------------+-------+---------+---------+-------------------------------+------------+-----------+-------------+-------+---------------+
| version | patch | label | comment | created_on | dropped_on | log_level | trace_level | state | review_status |
|----------------+-------+---------+---------+-------------------------------+------------+-----------+-------------+-------+---------------|
| V1_0 | 0 | NULL | NULL | 2023-05-10 17:11:47.696 -0700 | NULL | OFF | OFF | READY | NOT_REVIEWED |
+----------------+-------+---------+---------+-------------------------------+------------+-----------+-------------+-------+---------------+