DBEAVER-语句终结者不行吗?

发布于 2025-01-28 07:33:31 字数 260 浏览 6 评论 0原文

我正在使用声明set语句以定义@end_dt为cast( ...),但是,在dbeaver中,如果我结束我的声明语句,我的 set 带有;的语句将这些语句视为与以下主查询分开的方式,并给我一个标量变量错误。一旦我删除了语句终止器(;),则它将运行。

这是我使用dbeaver的第一个月。是否有一个设置可以顺利使用语句终结者?

Am using a DECLARE and SET statement to define @end_dt as CAST(...) but, in DBeaver if i end my DECLARE statement, and my SET statements with an ; it treats those statements as if separate from the following main query and gives me a scalar variable error. Once I remove the statement terminators (;) then it runs.

This is my first month using DBeaver. Is there a setting that allows use of statement terminators smoothly?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文