Re: help dynamically adding a 'datafile' to a script

  • From: <ryan.gaffuri@xxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 20 Feb 2004 14:56:17 -0500

i know about omfs, but this is an 8i instance. 
> 
> From: <ryan.gaffuri@xxxxxxx>
> Date: 2004/02/20 Fri PM 12:30:08 EST
> To: oracle-l@xxxxxxxxxxxxx
> Subject: help dynamically adding a 'datafile' to a script
> 
> I am trying to do the following and I cant get it to take(I would prefer not 
> to use dynamic sql and write my create tablespace scripts to a second file).
> 
> Prompt Please enter a datafile path
> Accept cPath
> 
> create tablespace myTablespace datafile '&cPath ||mytablespace.dbf' size 5m;
> 
> I've tried lots of methods including bind variables and appending before the 
> create tablespace statement. Any way to do this? 
> 
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
> put 'unsubscribe' in the subject line.
> --
> Archives are at //www.freelists.org/archives/oracle-l/
> FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
> 

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: