how to get a of list schemas in specific database in DB2. I am trying to get list of specific schemas in particular database
Try this:
select schemaname from syscat.schemata
The catalog view SYSCAT.SCHEMATA holds the schema information. Here is the overview of all DB2 LUW catalog views in case you need other information as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With