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

Does a sql server 2005 select statement require a from?

1071


Explain the different types of joins?

1043


What are the 7 disadvantages to a manual system?

1030


Explain external key management in sql server 2008

934


What is "scheduled jobs" or "scheduled tasks"?

1026


What does dml stand for?

994


What happens if an integer is too big for int date type?

1024


In what version of sql server were synonyms released?

999


What is multi-statement table-value user-defined function?

1051


What is entity data services?

1110


How to enter date and time literals in ms sql server?

1065


Are there issues when exporting SSRS reports into Microsoft Excel? When my users are trying to export a SSRS report into Microsoft Excel, one or two columns in the report appear to merge together. Why might this be?

195


Explain different types of self contained sub query?

1104


hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail

2273


What is the language structure to add a record to a table?

1073