From oracle-l-bounce@freelists.org Wed Oct 12 05:31:48 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j9CAVmOT005183 for ; Wed, 12 Oct 2005 05:31:48 -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 j9CAVjvX005164 for ; Wed, 12 Oct 2005 05:31:45 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5CB291FC126; Wed, 12 Oct 2005 05:31:40 -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 07617-02; Wed, 12 Oct 2005 05:31:40 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D32651FC002; Wed, 12 Oct 2005 05:31:39 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fX+JwirMQIhiRke0NFahQ1iKv6YRoBvj0Uccg8UBwPbcNmz0xEYfyj2reeZFmMljmRDN/TG/ysW18bkGp8NRaCm+GlBs1jdEYfILcVoeTi69G13+nxBoqKTIZs1R5BLsQfTH7yptmd8bsnQeFNv6ZrxWkxDZ3C8dUgqu0VSLeH0= Message-ID: Date: Wed, 12 Oct 2005 11:29:43 +0100 From: David Sharples To: sjaffarhussain@gmail.com Subject: Re: tablespaces ddl extract script Cc: Oracle-L Freelists In-Reply-To: <97b7fd2f0510120324v4706898bu388509d809001a2d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14954_27035333.1129112983594" References: <97b7fd2f0510120324v4706898bu388509d809001a2d@mail.gmail.com> X-archive-position: 26766 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-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Level: X-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 ------=_Part_14954_27035333.1129112983594 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline SQL> select dbms_metadata.get_ddl('TABLESPACE','TS_NAME') from dual; google and metalink are your friends On 10/12/05, The Human Fly wrote: > > Friends, > > Can any has scripts to extract the ddl of all tablespace with datafile > defination in a database? > ------=_Part_14954_27035333.1129112983594 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
SQL> select dbms_metadata.get_ddl('TABLESPACE','TS_NAME') from dual= ;
 
google and metalink are your friends


 
On 10/12/05, The Human Fly <sjaffarh= ussain@gmail.com> wrote:
Friends,

Can any has scri= pts to extract the ddl of all tablespace with datafile
defination in a d= atabase?

------=_Part_14954_27035333.1129112983594-- -- http://www.freelists.org/webpage/oracle-l