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
Does a sql server 2005 select statement require a from?
Explain the different types of joins?
What are the 7 disadvantages to a manual system?
Explain external key management in sql server 2008
What is "scheduled jobs" or "scheduled tasks"?
What does dml stand for?
What happens if an integer is too big for int date type?
In what version of sql server were synonyms released?
What is multi-statement table-value user-defined function?
What is entity data services?
How to enter date and time literals in ms sql server?
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?
Explain different types of self contained sub query?
hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail
What is the language structure to add a record to a table?