Hi All.,
Though the question seems to be irrelevant, but it is connected to db2.
I need to set schema / Default Schema to the query at runtime.
How to do this for any of
java.sql.Statement/java.sql.PreparedStatement/java.sql.Connection
object?.
Is there any other way?
Similarly I have the following statement in Oracle which can set the
date format for the entire session.
Alter session set nls_date_format = 'dd/mm/yyyy'
Is there any similar command exist in DB2.
I am working on db2udb8.1 on AIX.
Rgds
Arul Prakasam
_________________________________________
TeamDB2
5th Floor, i-flex Park,
#66/2, Byrasandra, C.V Raman Nagar,
Bangalore - 75,India
Ph : +91 80 57593838,57593059
_________________________________________
Never tell people how to do things. Tell them what to do and they will
surprise you with their ingenuity."
DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
DB2 & UDB email list listserv db2-l LazyDBA home page