【发布时间】:2019-03-26 15:35:05
【问题描述】:
我使用默认的雪花数据库浏览器。现在我正在尝试从序列中选择元素。我指定了数据库、模式,然后我运行了两个下一个查询
create or replace sequence seq_01 start = 1 increment = 1;
select seq_01.nextval;
得到No active warehouse selected in the current session. Select an active warehouse with the 'use warehouse' command.
我可以在不连接仓库的情况下从序列中获取下一个元素吗?
【问题讨论】:
标签: sql snowflake-cloud-data-platform