Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Using Substitution Variables Dynamically in File Names

Using Substitution Variables Dynamically in File Names

From: <sfitzgerald02_at_gmail.com>
Date: Tue, 16 Oct 2007 16:56:46 -0000
Message-ID: <1192553806.505264.287100@v29g2000prd.googlegroups.com>


I'm looking to use a substitution variable in a file name. Here is what I have so far.

column sn new_value company_name noprint select scompanyname into :company_name from tblcompany where ncompanyid = :companyid
spool /home/utils/companyReport/&company_name.&file_time..txt

prompt -- &company_name --;

The variable &company_name doesn't appear to be working. Any help would be appreciated.

Thanks.

Steve Received on Tue Oct 16 2007 - 11:56:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US