How do I list the available tables in a database I'm
querying?
Answer Posted / sanjeev kumar
First Method:
select table_name from information_schema.tables
Second Method:
Select Name from sysobjects where xtype='u'
Note: here 'u' means user created
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the status of services on passive node for failover cluster in sql server? : sql server database administration
Explain different types of index?
What happens if you insert a duplicate key for the primary key column in ms sql server?
Distinguish between nested subquery and correlated subquery?
What is the exact numeric data type in sql?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
What is log ldf?
You want to use a perspective in an mdx query. How do you select the perspective?
Define msdb database?
Explain datetimeoffset data type in sal server 2008?
How do we Backup SQL Azure Data?
How do I uninstall sql server 2014?
How to create a view with data from multiple tables?
Explain the dbcc pintable command when would you use it?
How to enable tcp/ip protocol on a sql server?