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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: help dynamically adding a 'datafile' to a script

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

From: <nelson.petersen_at_homehardware.ca>
Date: Mon, 23 Feb 2004 07:55:28 -0500
Message-Id: <04Feb23.081309est.119069@stj101.homehardware.ca>


In 8.1.6, tucked away in Chapter 8 of
SQL*Plus User's Guide and Reference

In 9.2 docs it is chapter 13.

Look for "CONCAT"

-----Original Message-----
From: Ryan [mailto:ryan.gaffuri_at_cox.net] Sent: Friday, February 20, 2004 5:05 PM
To: oracle-l_at_freelists.org
Subject: Re: help dynamically adding a 'datafile' to a script

where in the sqlplus docs is stuff on '.' ? I scoured them and didn't see it.
----- Original Message -----
From: "John Flack" <JohnF_at_smdi.com>
To: <oracle-l_at_freelists.org>
Sent: Friday, February 20, 2004 2:31 PM
Subject: RE: help dynamically adding a 'datafile' to a script

> Have you tried:
> create tablespace myTablespace datafile '&cPath.mytablespace.dbf' size =
> 5m;
>
> The dot ends a SQL*Plus substitution variable name in places where it =
> isn't clear where the name of the variable ends and the next word =
> begins. The dot is part of the name and will be gone after =
> substitution.
> -----Original Message-----
> From: ryan.gaffuri_at_cox.net [mailto:ryan.gaffuri_at_cox.net]
> Sent: Friday, February 20, 2004 12:30 PM
> To: oracle-l_at_freelists.org
> 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?=20
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://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_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://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_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon Feb 23 2004 - 06:53:51 CST

Original text of this message

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