Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
David Williams — — source: Informix-list mailing list archive (1991-1998)
In article <5ea6qa$fvh$1@Mars.mcs.net>, David Gilbert <xanadu@MCS.COM>
writes
>Greetings All:
>
>When I run this:
>
> database db_no_log;>
> select * from db_with_log:sysusers>
>I get this:
>
> -568: Cannot reference an external database without logging>
>I understand why Informix does this, but is there anyway to get this
>to work if all I want to do is a SELECT?
>
>Thanks in advance.
>
>--
>David Gilbert (xanadu@mcs.net)
>
>
You could cheat:-
database db_no_log
create temp table my_temp
(
<fill in schema of db_with_log:sysusers>
)
database db_with_log
insert into my_temp select * from sysusers database db_nO_log;
PS Won't necessarily work on all engines!!
--
David Williams
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.