Hi all,
Does anyone know how to get the schema name given a JDBC Connection
object? I see that I can do "toString" and pick the "User=" substring,
but smells of a hack. :)
Thanks,
Alejandrina
Knut Stolze - 03 Apr 2006 09:52 GMT
> Hi all,
>
> Does anyone know how to get the schema name given a JDBC Connection
> object? I see that I can do "toString" and pick the "User=" substring,
> but smells of a hack. :)
Query the CURRENT SCHEMA special register.

Signature
Knut Stolze
DB2 Information Integration Development
IBM Germany
apattin - 03 Apr 2006 17:06 GMT
Thanks! I can do that.
Alejandrina