Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 7th, 2004, 11:39 PM
ThePhong_it ThePhong_it is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 ThePhong_it User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Get all the Tables in a database

hi all,
Is there anyway to get all the tables in database of SQL Server 2000.
I am now design a form which have a Combobox that has a list of all the
tables in the database. after i choose the tables in the combo box, the data
of this table will output to file.
Please kindly help me to get all the table in the database
Thanks
NTphong

Reply With Quote
  #2  
Old October 28th, 2005, 05:55 AM
vitthal.shinde vitthal.shinde is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 1 vitthal.shinde User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 39 sec
Reputation Power: 0
Hello,
U can use the SQL query as

select table_name
from INFORMATION_SCHEMA.tables
where
TABLE_TYPE = 'BASE TABLE'

and follow the link http://www.davidpenton.com/testsite/views/

for more information

Quote:
Originally Posted by ThePhong_it
hi all,
Is there anyway to get all the tables in database of SQL Server 2000.
I am now design a form which have a Combobox that has a list of all the
tables in the database. after i choose the tables in the combo box, the data
of this table will output to file.
Please kindly help me to get all the table in the database
Thanks
NTphong

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Get all the Tables in a database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway