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.
Fernando Nunes — — source: Usenet: comp.databases.informix
John David Adamski wrote:
> We are on IDS 7.31 on a HPUX machine and have 5 databases and I have
> some SQL that runs in dbaccess on most of them regularly. Its just a
> report and it would be nice to know on the report which database this
> one was generated.
>
> What is the SQL code that will identify the current database I am
> running on?
select * from sysmaster:syssqlcurses
One of the fields is what you need.
Regards.
Your privacy choices
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.