GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  SQL Server

 Print  |  
Question:  To display list of tables in database

Answer: How to display list of tables from a particular database in MS-SQL
How to display description of that particular table?


February 02, 2009 15:02:45 #3
 cybersavvy   Member Since: February 2009    Total Comments: 12 

RE: To display list of tables in database
 
To Display list of tables in the database:
SELECT * FROM INFROMATION_SCHEMA.TABLES WHERE TYPE='basetable'

To describe the structure of a particular table
SP_HELP table_name;
     

 

Back To Question