From oracle-l-bounce@freelists.org Fri Sep 16 03:09:19 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j8G88wDA012407 for ; Fri, 16 Sep 2005 03:09:09 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j8G88k6H012347 for ; Fri, 16 Sep 2005 03:08:51 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 736EC1EDA50; Fri, 16 Sep 2005 03:08:35 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01765-07; Fri, 16 Sep 2005 03:08:35 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E1E621EDA21; Fri, 16 Sep 2005 03:08:34 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=UPu6E7UNjBQX7xGVCzdE1N23yLFQYkoJLMDiLZqH6w22xtqZMwUkZ0Nk7A/xKiegKRtbAe2mUiTuC/Oh5pFInkrYjSK6HF5hkqzuM6qOmkr5/H0p/4zn+r4o3wAiTfOgqTaa53W0roKWGkK5dpPJCUj8Gi3X1QRmByl+uMuWyvE= Message-ID: Date: Fri, 16 Sep 2005 09:06:42 +0100 From: David Sharples To: Eric.Buddelmeijer@elegant.nl Subject: Re: Using OS info in package, OFA from within database Cc: oracle-l@freelists.org In-Reply-To: <20050916074336.8875914017@coral.qinip.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1008_8695727.1126858002021" References: <20050916074336.8875914017@coral.qinip.net> X-archive-position: 25570 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: davidsharples@gmail.com Precedence: normal Reply-To: davidsharples@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 ------=_Part_1008_8695727.1126858002021 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline select dbms_utility.port_string from dual; there is no default location for datafiles (unless using OMF) so you put= =20 them whre you want On 9/16/05, Eric Buddelmeijer wrote:=20 >=20 > Ladies, Gents, > I have a package in use to create a standalone environment (tablespaces= =20 > and schema's) for developers. Some developers install a linux oracle, som= e a=20 > windows oracle. They maintain their own installation on laptops and the= =20 > like. Tablespaces are created in the package. In the package I need to kn= ow=20 > if I must use a \ or a / in the path for datafiles. Is there a place in t= he=20 > oracle dictionary where I can find out on what platform the current datab= ase=20 > is running? I now use what I would call a workaround by selecting the fir= st=20 > row from dba_data_files and look for the first character as a tell-tale s= ign=20 > for the platform. But in my opinion that is just what it is, a workaround= .=20 > Must be something better available. Can anyone enlighten me? > ------=_Part_1008_8695727.1126858002021 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
select dbms_utility.port_string from dual;
 
there is no default location for datafiles (unless using OMF) so you p= ut them whre you want

 
On 9/16/05, = Eric Buddelmeijer <E= ric.Buddelmeijer@elegant.nl> wrote:
Ladies, Gents,
 
I have a package in use to = create a standalone environment (tablespaces and schema's) for developers. = Some developers install a linux oracle, some a windows oracle. They maintai= n their own installation on laptops and the like. Tablespaces are created i= n the package. In the package I need to know if I must use a \ or a / = in the path for datafiles. Is there a place in the oracle dictionary where = I can find out on what platform the current database is running? I now use = what I would call a workaround by selecting the first row from dba_data_fil= es and look for the first character as a tell-tale sign for the platform. B= ut in my opinion that is just what it is, a workaround. Must be something b= etter available. Can anyone enlighten me?
------=_Part_1008_8695727.1126858002021-- -- http://www.freelists.org/webpage/oracle-l