DB2 current schema

If I have an instance of a JDBC DB2 connection, how do I get the current schema?

Either a SQL statement would work, or just a JDBC method call.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Dave FordConnect With a Mentor Software Developer / Database AdministratorCommented:

This works for me ....
select current_schema  
from   sysibm.sysdummy1

Open in new window

mbevilacquaAuthor Commented:
Ah, sysdummy1, i was using sysdummy. Cheers!
All Courses

From novice to tech pro — start learning today.