Oracle假脱机位置

Vla*_*zma 9 oracle oracle-sqldeveloper

我正在使用SQL Developer为一些软件包假脱机,但我无法确定服务器假脱机的位置.Oracle安装在AIX上,但我不知道它用于连接操作系统的用户.

基本上,当我跑:

spool test.lst

select 1 from dual;

spool off
Run Code Online (Sandbox Code Playgroud)

我在控制台收到确认消息

1                      
---------------------- 
1          
Run Code Online (Sandbox Code Playgroud)

每当我尝试提供路径时,我都会收到错误,可能是因为用户权限:

spool /tmp/test.lst
select 1 from dual;
spool off


Cannot create SPOOL file /tmp/test.lst 
1                      
---------------------- 
1             
Run Code Online (Sandbox Code Playgroud)

所以我的问题是test.lst在哪里?

Ale*_*ole 14

假脱机是客户端活动,而不是服务器活动; 该.lst文件将在SQL Developer所在的机器上创建,而不是它所连接的数据库所在的服务器.

在Windows 7和SQL开发3.1,默认情况下对我来说,这似乎存储.lst%APPDATA%\Sql Developer\

你可以假脱机到一个特定的目录,例如spool c:\windows\temp\test.lst,如果你有它设置可以使用类似的东西spool \\<aix-server>\<dir>\test.lst.当然,路径根据您的客户端操作系统而有所不同.