Re: How can i get all the table names from a databse ?
From: Arild Bakken (arildb__at_hotmail.com)
Date: 05/28/04
- Next message: LeeHACK[Jhin-Seok.Lee]: "RE: MS Flex Grid in C#"
- Previous message: Michael Voss: "Is Smalltalk a functional language ?"
- Next in thread: Greg Miller: "Re: How can i get all the table names from a databse ?"
- Reply: Greg Miller: "Re: How can i get all the table names from a databse ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 08:42:24 +0200
For MSSQL:
select name from sysobjects where type = 'U'
or
select table_name from information_schema.tables where table_type = 'BASE
TABLE'
For other RDBMS - check their documentation.
Arild
"¹ùÑÇ·æ" <green_hand_2000@yahoo.com> wrote in message
news:eNCwiGFREHA.3988@tk2msftngp13.phx.gbl...
> in my app, i need to fetch all the table names in a database ,which SQL
> statements i can use ?
>
> Thanks for any advices !
>
> Albert Guo
> Jiangsu ,China PRC
> ---------------------------------------------
>
>
- Next message: LeeHACK[Jhin-Seok.Lee]: "RE: MS Flex Grid in C#"
- Previous message: Michael Voss: "Is Smalltalk a functional language ?"
- Next in thread: Greg Miller: "Re: How can i get all the table names from a databse ?"
- Reply: Greg Miller: "Re: How can i get all the table names from a databse ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|