Re: Tabnames
Posted in 1999
Topics: General Discussion
Peter
Try this:
database yourdatabasename;
select tabname from systables where tabid > 99;
HTH
Sujit
Peter Sloboda <petersloboda@earthlink.net> on 07/06/99 01:06:47 PM
Please respond to Peter Sloboda <petersloboda@earthlink.net>
To: informix-list@iiug.org
cc: (bcc: Sujit Pal)
Subject: Tabnames
Hi,
anyone idea, how to retrieve the names of the tables for specific
<db_name>?
I ran :
database sysmaster;
select tabname from systabnames where dbsname=<db_name>;
but I got the names of the indexes too.
Thanx,
Peter
and tabtype = 'T' -- (I think)
otherwise you will also get views.
June
june_t@hotmail.com
Still alive -- just when you thought it was safe to come out with the
chocolate...
Please do not send Informix questions to this account.
I would add 'Please do not send spam to this account'
but I suppose I would be wasting my bits.
Sujit.Pal@bankofamerica.com wrote:
> Peter
>
> Try this:
>
> database yourdatabasename;
> select tabname from systables where tabid > 99;>
> HTH
> Sujit
>
> Peter Sloboda <petersloboda@earthlink.net> on 07/06/99 01:06:47 PM
>
> Please respond to Peter Sloboda <petersloboda@earthlink.net>
>
> To: informix-list@iiug.org
> cc: (bcc: Sujit Pal)
> Subject: Tabnames
>
> Hi,
> anyone idea, how to retrieve the names of the tables for specific
> <db_name>?
> I ran :
>
> database sysmaster;
> select tabname from systabnames where dbsname=<db_name>;>
> but I got the names of the indexes too.
> Thanx,
> Peter
........and synonymns......
June Tong <june_t@hotmail.com> wrote in message
news:37843144.7ECD18C9@hotmail.com...
> and tabtype = 'T' -- (I think)
>
> otherwise you will also get views.
>
> June
>
> june_t@hotmail.com
> Still alive -- just when you thought it was safe to come out with the
> chocolate...
>
> Please do not send Informix questions to this account.
> I would add 'Please do not send spam to this account'
> but I suppose I would be wasting my bits.
>
> Sujit.Pal@bankofamerica.com wrote:
>
> > Peter
> >
> > Try this:
> >
> > database yourdatabasename;
> > select tabname from systables where tabid > 99;> >
> > HTH
> > Sujit
> >
> > Peter Sloboda <petersloboda@earthlink.net> on 07/06/99 01:06:47 PM
> >
> > Please respond to Peter Sloboda <petersloboda@earthlink.net>
> >
> > To: informix-list@iiug.org
> > cc: (bcc: Sujit Pal)
> > Subject: Tabnames
> >
> > Hi,
> > anyone idea, how to retrieve the names of the tables for specific
> > <db_name>?
> > I ran :
> >
> > database sysmaster;
> > select tabname from systabnames where dbsname=<db_name>;> >
> > but I got the names of the indexes too.
> > Thanx,
> > Peter
>