Re: Ansi Database question -----
Posted in 1998
Abhay Mannur wrote: > > Hi, > > If I want to join tables from 2 different databases and one > of which is ANSI mode then it gives me a problem. > > To be more specific, I want to use sysmaster databse ( non ANSI ) and > one of our production databases ( ANSI ). > > How can I do this ? > > Can I change sysmaster database to ANSI ? No you cannot access an external database with a different logging mode than the current database. If you are using CLI or ESQL/C you can, however, open a separate connection to the SYSMASTER database and switch between the two connection. I have found this to actually be faster than accessing an external database anyway. All of my DBA tools that need access to SYSMASTER work this way since some of our databases are non-logged (don't ask!). Check out the source for my dostats.ec utility in the IIUG software repository or TFM for examples. Art S. Kagel