How do I list the available tables in a database I'm
querying?

Answer Posted / guest

You can get a list of tables in a database by calling the
INFORMATION_SCHEMA.Tables view like this:

SELECT * FROM information_schema.tables

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert binary strings into integers in ms sql server?

551


How to include date and time values in sql statements?

628


What is difference between clustered index and non clustered index?

624


How can windows applications connect to sql servers via odbc?

582


What happens if you add a new index to large table?

509






Explain time data type in sal server 2008?

549


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

667


What is DCL?

589


How to create an index on a view?

580


What is self contained sub query?

557


What encryption security is available in sql azure?

81


How to use subqueries with the exists operators in ms sql server?

584


How and why use sql server?

539


Define constraints and give an example of their use?

559


What is the security principal at the server level that represents your session?

555