Click here to Skip to main content
15,884,715 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
how can i find table name in purticular database
Posted
Comments
Thanks7872 13-Aug-14 7:49am    
use '+' icon against the list item named 'Tables' and go through the items you see there.
[no name] 23-Sep-14 4:57am    
:)

SQL
select * from INFORMATION_SCHEMA.TABLES
 
Share this answer
 
Hi,

In addition to above....


SQL
USE Your_Database
GO
SELECT *
FROM sys.Tables
GO



Hope this will help you.


Cheers
 
Share this answer
 
SQL
SELECT * FROM sys.tables
show all table

SQL
SELECT * FROM sys.objects WHERE type='u'
give list of user defined table
 
Share this answer
 
Hello ,
Lot of ways are there.
You can use sys.tables which is system defined in sql server which lists only user defined tables.
ALternatively you can use INFORMATION_SCHEMA.TABLES.

There is also a stored procedure available sp_tables which list you the available tables in the database.

Hope it helps you .

Hapy Coding :-)
 
Share this answer
 
Select * from sysobjects where xtype='u'
 
Share this answer
 
SQL
SELECT *
FROM sys.Tables
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900