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.
Jesse asked how to get the IDS server version from SQL, like @@VERSION in SQL Server. Mark Scranton gave SELECT DBINFO('version', 'full'), and the 'major' and 'minor' variants, FROM systables WHERE tabid = 1. Jack Parker suggested a version entry in systables. Jesse confirmed the DBINFO answer was perfect. Solved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Hi,
how can I determine the IDS server version from a SQL query? I'm
looking for something similar to @@VERSION in SQL Server for example.
Thanks,
Jesse
On Sep 27, 1:23 pm, Jesse <goo...@jessehersch.fastmail.fm> wrote:
> Hi,
>
> how can I determine the IDS server version from a SQL query? I'm
> looking for something similar to @@VERSION in SQL Server for example.
>
> Thanks,
> Jesse
database sysmaster;
SELECT DBINFO('version', 'full')
FROM systables
WHERE tabid = 1;
SELECT DBINFO('version', 'major')
FROM systables
WHERE tabid = 1;
SELECT DBINFO('version', 'minor')
FROM systables
WHERE tabid = 1;
HTH -
Mark Scranton
↪ replying to Jesse
Jack Parker — — source: Usenet: comp.databases.informix
Look for an entry in systables with a tabname of ' VERSION' or something
like that.
j.
-----Original Message-----
From: informix-list-bounces@iiug.org
[mailto:informix-list-bounces@iiug.org]On Behalf Of Jesse
Sent: Thursday, September 27, 2007 1:23 PM
To: informix-list@iiug.org
Subject: determine server version via SQL
Hi,
how can I determine the IDS server version from a SQL query? I'm
looking for something similar to @@VERSION in SQL Server for example.
Thanks,
Jesse
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
Thanks, this is perfect.
On Sep 27, 3:19 pm, "mark.scran...@gmail.com"
<mark.scran...@gmail.com> wrote:
> On Sep 27, 1:23 pm, Jesse <goo...@jessehersch.fastmail.fm> wrote:
>
> > Hi,
>
> > how can I determine the IDS server version from a SQL query? I'm
> > looking for something similar to @@VERSION in SQL Server for example.
>
> > Thanks,
> > Jesse
>
> database sysmaster;>
> SELECT DBINFO('version', 'full')
> FROM systables
> WHERE tabid = 1;
>
> SELECT DBINFO('version', 'major')
> FROM systables
> WHERE tabid = 1;
>
> SELECT DBINFO('version', 'minor')
> FROM systables
> WHERE tabid = 1;
>
> HTH -
> Mark Scranton
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.