944,157 Members | Top Members by Rank

Ad:
  • MS SQL Discussion Thread
  • Unsolved
  • Views: 662
  • MS SQL RSS
Oct 26th, 2009
-1

how can i find the table names

Expand Post »
how can i find the table names from Sql server. what r the statement.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
else_harpal is offline Offline
1 posts
since Oct 2009
Oct 28th, 2009
1
Re: how can i find the table names
MS SQL Syntax (Toggle Plain Text)
  1. USE DATABASE_NAME
  2.  
  3. SELECT TABLE_NAME
  4. FROM INFORMATION_SCHEMA.TABLES
Reputation Points: 36
Solved Threads: 57
Posting Whiz
Thirusha is offline Offline
355 posts
since Mar 2008
Oct 29th, 2009
0
Re: how can i find the table names
I didn't know about INFORMATION_SCHEMA.Tables

I have used this in the past:
MS SQL Syntax (Toggle Plain Text)
  1. SELECT name
  2. FROM sysobjects
  3. WHERE Type = 'u'
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MS SQL Forum Timeline: Connection Strings to network.
Next Thread in MS SQL Forum Timeline: View Help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC