how can I get all the tables' name by one function call?

Поиск
Список
Период
Сортировка
Искать

how can I get all the tables' name by one function call?

От:
"I. TS" <its@cs.nmsu.edu>
Дата:
Hi,

The question is that if I only know the name of database, how can I get all the
tables' name?  Using a function call?  Like get a columns's name.

Cheers.

Zhidian





Re: how can I get all the tables' name by one function call?

От:
Rene Pijlman <rene@lab.applinet.nl>
Дата:
On Sat, 13 Oct 2001 17:43:48 -0600, you wrote:
>The question is that if I only know the name of database, 
>how can I get all the tables' name? 

java.sql.DatabaseMetaData.getTables()

Regards,
René Pijlman 
FAQ