Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Reg. SPOOL in SQL*PLUS
Hi,
Try
column seq new_value seq noprint
select LTRIM(test_seq.nextval) seq from dual;
spool c:\test_&seq..lst
spool off
Met vriendelijke groet,
Jacob van Zanen
(Oracle DBA) Informatie Systemen
Ernst & Young
Informatie & Communicatie Technologie
Kantoor Gouda
Tel.: 0182 575316 (intern: 923 316)
Fax: 0182 536311
E-mail: nlzanen_at_ey.nl
Arul kumar <rakumar_at_mahin To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> drabt.com> cc: Sent by: Subject: Reg. SPOOL in SQL*PLUS root_at_fatcity.c om 06-02-2001 05:45 Please respond to ORACLE-L
Hi DBAs,
I would like to know the way for specifying a filename dynamically in SQL PLUS. Say, for example
The file name should be suffixed with a sequence number available from a SEQUENCE object. ( like SPOOL <filename>||seq1.nextval).....
Any idea?
Thank You,
Arul.
Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender en het origineel en eventuele kopieën te verwijderen en te vernietigen.
Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De algemene voorwaarden worden u op verzoek kosteloos toegezonden.
If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.
In carrying out its engagements, Ernst & Young applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: nlzanen1_at_ey.nl Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Feb 06 2001 - 05:17:44 CST
![]() |
![]() |