btw also
SELECT * FROM SYSIBM.SYSDATABASE gives an error for me
SQL0204N "SYSIBM.SYSDATABASE" is an undefined name. SQLSTATE=42704
So not able to use that even.:(
What sql query can I use to list names of all databases in DB2 (need to call it via jdbc)?
Something of the flavor like in Mysql we have [Show Databases]
And "LIST DATABASE DIRECTORY" is not much help when making a jdbc call.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.