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
How many types of triggers are there?
Can group by and orderby be used together?
How to connect a database with sql express.?
What is temporal data type?
What happens if strings are casted into wrong code pages in ms sql server?
What is mean by candidate key?
What is meant by referential integrity?
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
Explain what are sparse columns?
Differentiate between a local and a global temporary table?
List some case manipulation functions in sql?
What are the differences between web role and worker role?
What is a print index?
You want to use a perspective in an mdx query. How do you select the perspective?