on 2016 Nov 17 12:05 PM
Hi
I am trying to write a Stored Procedure in ASA9 with an OUTPUT TO
statement. The reason I want to use OUTPUT TO
instead of UNLOAD
is I am wanting to export the file as HTML.
Is this possible?
Request clarification before answering.
The OUTPUT statement is a dbisql[c] statement and is not known by the server, and therefore you cannot use it in a stored procedure. There are two alternatives that you can use in a stored procedure:
Check out the documentation for more details - the links that I have provided are for SQLA 17 but the same will work on v9 (except for UNLOAD TO CLIENT FILE - this feature does not exist in v9).
In more recent versions you can also use:
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
29 | |
9 | |
8 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.