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: Export Sequences from a database

Re: Export Sequences from a database

From: Joseph S. Testa <teci_at_oracle-dba.com>
Date: Thu, 28 Sep 2000 10:11:09 -0400
Message-Id: <10633.118150@fatcity.com>


if ur not concerned about security, send me the .dmp file with no rows, i'll be glad to extract it out and send the create seq code back to you.

joe

Mosy Lo wrote:

> Hi, Joe
>
> Thanks for the reply. However, the database is on NT. How can I extract
> from NT?
>
> Mosy
> -----Original Message-----
> Sent: Wednesday, September 27, 2000 3:11 PM
> To: Multiple recipients of list ORACLE-L
>
> here is how i get sequences from the .dmp file on the fly
>
> solaris world:
>
> mkfifo x.pipe
> cat x.pipe | strings | grep -in "CREATE SEQUENCE" > /tmp/1.1 &
> exp userid/password file=x.pipe rows=n
>
> vi /tmp/1.1 and you got the create sequence statements
>
> and soon as i get some free time i'll finish testing the ddl extractor pgm
> from
> the .dmp file utility :)
>
> joe
>
> PS: A CAVEAT, strings on solaris is brain dead after 1023 characters, it
> just
> truncates the input, get gnu binutils and compile it on your platform, that
> version of strings i've had 30K lines with no problems.
>
> Ruth Gramolini wrote:
>
> > Export the schema of the owner of the sequences then import them with
> > row=N. RBG
> > ----- Original Message -----
> > To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> > Sent: Tuesday, September 26, 2000 4:36 PM
> >
> > > hi, Everybody
> > >
> > > I created over 50 sequences in a schema and would like to import all
> these
> > > sequences to another database. How can I do that?
> > > Thanks in advance for the info.
> > >
> > > Mosy Lo
> > >
> > > email: mlo_at_jcicorp.com
> > >
> > >
> > > --
> > > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > > --
> > > Author: Mosy Lo
> > > INET: mlo_at_JCICorp.com
> > >
> > > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > > San Diego, California -- Public Internet access / Mailing Lists
> > > --------------------------------------------------------------------
> > > To REMOVE yourself from this mailing list, send an E-Mail message
> > > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > > the message BODY, include a line containing: UNSUB ORACLE-L
> > > (or the name of mailing list you want to be removed from). You may
> > > also send the HELP command for other information (like subscribing).
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Ruth Gramolini
> > INET: rgramolini_at_tax.state.vt.us
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Joseph S. Testa
> INET: teci_at_oracle-dba.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Mosy Lo
> INET: mlo_at_JCICorp.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
Received on Thu Sep 28 2000 - 09:11:09 CDT

Original text of this message

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