Results 1 to 9 of 9
Thread: How to Get Table List - MS SQL
-
06-30-2010, 12:06 PM #1
- Join Date
- Apr 2008
- Location
- Boston, USA
- Posts
- 13,175
- Thanks
- 744
- Thanked 699 Times in 550 Posts
- Blog Entries
- 4
- Feedback Score
- 4 (100%)
How to Get Table List - MS SQL
How to Get Table List - MS SQL
Very simple. On management studio run this query.
Code:select * FROM INFORMATION_SCHEMA.TABLES
Free Classified Ads & BUSINESS/PROFESSIONAL SOCIAL NETWORK
-
11-02-2010, 06:55 AM #2
Junior
- Join Date
- Oct 2010
- Posts
- 221
- Thanks
- 0
- Thanked 1 Time in 1 Post
- Feedback Score
- 0
Thanks Manik for this query.......
-
12-10-2010, 01:22 AM #3
Banned
- Join Date
- Nov 2010
- Location
- Delhi
- Posts
- 103
- Thanks
- 0
- Thanked 4 Times in 4 Posts
- Feedback Score
- 0
thank you that you shared the your Experience..
-
12-12-2010, 10:51 AM #4
thanks a lot
-
02-22-2011, 07:06 AM #5
Freshman
- Join Date
- Dec 2010
- Posts
- 3
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
Hi thank for sharing....
sp_tables returns a list of tables and views that can be queried in a selected database. The basic usage is as follows:
sp_tables [ [ @table_name = ] 'name' ]
[ , [ @table_owner = ] 'owner' ]
[ , [ @table_qualifier = ] 'qualifier' ]
[ , [ @table_type = ] "type" ]
[ , [@fUsePattern = ] 'fUsePattern'];
-
04-05-2011, 01:30 AM #6
Junior
- Join Date
- Apr 2011
- Posts
- 332
- Thanks
- 0
- Thanked 2 Times in 2 Posts
- Feedback Score
- 0
In my point of view you can use the following SQL table:
SELECT name [Table Name]
FROM sysobjects
WHERE xtype = 'YOU'
-
08-27-2011, 03:00 AM #7
Senior
- Join Date
- Aug 2011
- Posts
- 671
- Thanks
- 0
- Thanked 7 Times in 7 Posts
- Feedback Score
- 0
-
09-01-2011, 11:26 AM #8
Senior
- Join Date
- May 2011
- Posts
- 630
- Thanks
- 1
- Thanked 4 Times in 4 Posts
- Feedback Score
- 0
-
04-13-2012, 05:37 AM #9
Sophomore
- Join Date
- Mar 2012
- Posts
- 144
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
I think you may used the query in mysql $sql = "select * from table name"; mysql_query is used to run the query..
Similar Threads
-
Transferring / Editting a Table
By Amirmullick3 in forum DatabasesReplies: 6Last Post: 04-05-2011, 01:41 AM -
How To Copy DataRow From One Table To Another In ASP .Net
By manik in forum ASPReplies: 2Last Post: 07-28-2010, 08:07 PM -
Cfquery table group by
By Abina in forum ColdFusionReplies: 1Last Post: 01-31-2010, 11:17 AM -
Why using table is bad
By mastermind in forum HTML / DHTMLReplies: 3Last Post: 12-11-2009, 03:52 AM -
ASCII Table
By Amit.Verma in forum Web Development - Programming & CodingReplies: 4Last Post: 08-04-2008, 10:47 AM


Reply With Quote

