Up Prev Next
From: Kiril Mitev <kiril at idea-globalmarket dot com>
Subject: Re: listing the tables
Date: Sep 19 1997 5:53PM
> (this is email@example.com but I'm using Tony's SPARC....)
> we have an application where we must create a table for
> each client, these tables will then be called client1_data,
> client2_data &c. But now we need a way to list all the
> tables in a database, and I can't find a way to do this
> using CTLib (the server runs under NT and the middle
> tier is under Linux).
> Could anyone please tell me how to get a list of
> all the tables within a particular database?
I could be off by a byte, but try
select name from sysobjects where type like 'U'