How do I list the available tables in a database I'm
querying?
Answer Posted / kumar.t
Simple query
To Display only user created table.
Select * from sysobjects where xtype='u'
To Display all table.
Select * from sysobjects
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write the SQL query to drop, truncate and delete table.
Tell me what is the difference between locking and multi-versioning?
Can an entity have two primary keys?
How to transfer a table from one schema to another?
What is buffer cash and log cache in sql server?
How to select some specific columns from a table in a query in ms sql server?
What is sql service broker?
What do you mean by 'normalization'?
what is the system function to get current user's user id? : Sql server database administration
What is difference between group by and having?
How to change the ownership of a schema in ms sql server?
How to create user defined functions with parameters?
What is use of dbcc commands?
What are the different types of collation sensitivity?
What is the tcp/ip port on which sql server runs?