Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 1302

SQL Anywhere 12, Interactive SQL, How to "output" to relative path

$
0
0

Hi everyone,

 

is there a way to store the file from an output-statement relatively to the path of the script-file when running SQL-Scripts from Interactive SQL on windows?

 

If I try this

Select 'Test';
Output To 'test.txt' Format Text;

in a script I only get an "Access denied"-message, so I think Interactive SQL is trying to store the file in a directory where the current windows-user does not have write-permissions. If I use the absolute path to the directory from where the script is opened, everything works fine. So how does Interactive SQL decide where to put the file, if no absolute path is given?

 

Thanks in advance,

 

Torben


Viewing all articles
Browse latest Browse all 1302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>