What is a H2 command to list all views in the database?
I have expected that SHOW command would do the job but there is no option there to list views.
These are listed in the information_schema
So, you need to run:
select *
from information_schema.views;
please check System Tables provided for H2 database engine under INFORMATION_SCHEMA schema
You can display all views by querying INFORMATION_SCHEMA.VIEWS system table
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