How to list all schemas in a database?
Answer / Brajendra Singh
To list all schemas (or databases) in an MS SQL Server instance, you can use the following query:
```sql
SELECT name AS SchemaName FROM sys.databases;
| Is This Answer Correct ? | 0 Yes | 0 No |
HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY IN EMP TABLE
What is the bookmark lookup and rid lookup?
What are the default system databases in sql server 2000?
When do u use clustered index and non-clustered index?
Explain having clause?
What is use of attribute hierarchy ordered ? : sql server analysis services, ssas
What is log shipping?
difference between function and procedure
3 Answers Cognizant, HCL, TCS, Theorem,
How to skip remaining statements in a loop block using continue statements?
What is a View ? Can we insert, Update and delete a view?
Can you get second highest salary from the table?
What are the difference between clustered and a non-clustered index?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)