<Justin>
Is there a keyword or special value for the local DB2 when using a "SET CONNECTION"? I'd rather not use a literal, since I've seen the DB name change before (with hardware changes).
</Justin>

connect reset is your friend.

D*B

PS: one of the problems is, that you can't check to wich srever you are connected to, as every server has its own method (e.g.: select current_server from sysibm.sysdummy1 for DB2 on AS/400 and all compatible systems, regardless it's named today. I recommedn to have the same tabel on all systems of your distributed database to get the name of the current system beeing connected to.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.