Re: Return all Tables

From: Date: Thu, 11 Dec 2003 19:21:20 +0000
Subject: Re: Return all Tables
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22367@lists.php.net to get a copy of this message
Gerardo Rojas wrote:
I have a connection to an MS SQL server. I am able to get a list of all available DB's on this server by running: "exec sp_helpdb" the question is: How do we return all tables from a selected db for MS SQL? i am developing a web interface to the DB. I need to be able to give my users a choice of which Table to use. -- Gerardo S. Rojas mailto: grojas@strategicinc.com
Not sure about MS SQL, but "show tables;" works in MySql. And "show databases;" works for databases. -- paperCrane <Justin Patrin>

« previous php.windows (#22367) next »