Print Thread
Spool in TOracleQuery
#49718 10/24/14 05:18 PM
Joined: Jul 2014
Posts: 11
P
PRice2 Offline OP
Member
OP Offline
Member
P
Joined: Jul 2014
Posts: 11
I'm building a Delphi interface to let my customers create a mailing list instead of asking me to do it. When I put the sql into a TOracleQuery, though, it can't get past the spool command to create the desired file name. What would you suggest? The sql works fine in PL/SQL Developer.

Re: Spool in TOracleQuery
PRice2 #49719 10/27/14 10:31 AM
Joined: Aug 1999
Posts: 22,198
Member
Offline
Member
Joined: Aug 1999
Posts: 22,198
The spool command is not a SQL command, so it cannot directly be used for the TOracleQuery component. You will have to create a Delphi function to process the query results and write them to a file.


Marco Kalter
Allround Automations
Re: Spool in TOracleQuery
Marco Kalter #49721 10/27/14 07:17 PM
Joined: Jul 2014
Posts: 11
P
PRice2 Offline OP
Member
OP Offline
Member
P
Joined: Jul 2014
Posts: 11
Okay, thanks Marco.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.089s Queries: 15 (0.044s) Memory: 2.5005 MB (Peak: 3.0392 MB) Data Comp: Off Server Time: 2024-04-19 00:33:37 UTC
Valid HTML 5 and Valid CSS