-2

Possible Duplicate:
How do I obtain a list of all schemas in a Sql Server database

I manage to see all the schemas in the sql server 2000. I used the following statement

show search_path

But it failed.

Community
  • 1
  • 1
QuinnChen
  • 650
  • 1
  • 6
  • 23

1 Answers1

0

Please try:

SELECT * FROM INFORMATION_SCHEMA.SCHEMATA

For more info please refer link How do I obtain a list of all schemas in a Sql Server database

Community
  • 1
  • 1
TechDo
  • 17,374
  • 3
  • 46
  • 61