SQLcl无法将spool设置为file

问题描述 投票:1回答:1

在SQLcl设置假脱机到文件中给出错误“SP2-0556:无效的文件名”。文件名中没有空格,路径正确(文件夹C:\ Temp确实存在)。试过;

spool load_data.sql
spool C:\Temp\load_data.sql
spool "C:\Temp\load_data.sql"

在Win10,OracleXE11上使用SQLcl 17.2.0。从sqlplus假脱机工作正常。如何将SQLcl设置为假脱机文件?

oracle spool sqlcl
1个回答
1
投票

现在sqlcl中存在一个错误 - 似乎是通过版本17.3出现这种解决方法似乎解决了大多数o / ses中的问题

set encoding UTF-8
spool load_data.sql

...在Windows中尝试这个...

set encoding windows-1252
© www.soinside.com 2019 - 2024. All rights reserved.