Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the status of services on passive node for failover cluster in sql server? : sql server database administration

1269


Explain different types of index?

1064


What happens if you insert a duplicate key for the primary key column in ms sql server?

977


Distinguish between nested subquery and correlated subquery?

1045


What is the exact numeric data type in sql?

1003


what is new philosophy for database devises for sql server 7.0? : Sql server database administration

1010


What is log ldf?

985


You want to use a perspective in an mdx query. How do you select the perspective?

239


Define msdb database?

1023


Explain datetimeoffset data type in sal server 2008?

910


How do we Backup SQL Azure Data?

108


How do I uninstall sql server 2014?

936


How to create a view with data from multiple tables?

1012


Explain the dbcc pintable command when would you use it?

921


How to enable tcp/ip protocol on a sql server?

1162