从VSCODE编程将输出作为CSV文件保存为CSV文件
我的要求:以CSV文件格式将SQL查询输出(接收到数据)保存到本地驱动器中。
我的操作系统:Windows 10 64位 VS代码1.67.1: 我已经安装了以下扩展名来与雪花数据仓库连接:
- SQL工具
- Snowflake drougr的SQL工具,
我已经成功连接了我的雪花(云)数据仓库,并在 VS代码。
我想要的是保存(导出)输出(接收到数据)到本地文件(例如d:\ result \ result.csv)。
我该如何实现?
图像附加供您参考。
谢谢大家。 PMK
My Requirement: Save the SQL query output (received the data) in to the local drives in csv file format.
My OS: Windows 10 64 bit
VS Code 1.67.1:
I have installed the following extensions to connect with snowflake data warehouse:
- SQL Tools
- Snowflake driver for SQL Tools
I have successfully connected my snowflake (cloud) data warehouse and received the data at
the VS code.
What I want is to save (export) the output (received the data) to the local file (for example to D:\result\result.csv).
How can I achieve that?
image attached for your reference.
thank you all.
pmk
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您可以运行一点python,这几乎可以做您需要的
If you can run a bit of python, this does pretty much what you need