I would like to force the current schema to be the same as current user. It seems to be possible to set current schema in DB2 9.7 with statement:
SET SCHEMA ‘…’
If schema is to be set same as user, is it then:
SET SCHEMA USER?
How do I then refer to that schema when e.g. calling a stored procedure?
You can set the schema…
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/r0001016.htm
But for SP you have to use SET PATH…
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/r0001014.htm