Re: Determining Server/Client Version at RunTime
Posted in 1999
Topics: General Discussion
Jake Colman <colman@ppllc.com> wrote: > > Is there a way for me to determine at runtime the client version I am running > and the version of server to which I am connecting? Yes (assuming your server is 7.x) select dbinfo( 'version', 'full' ) server, scb_feversion client from sysmaster:syssqscb where scb_sessionid = dbinfo( 'sessionid' ); > > Thanx! > > -- > Jake Colman > > Principia Partners LLC Phone: (201) 946-0300 > Harborside Financial Center Fax: (201) 946-0320 > 902 Plaza II Beeper: (800) 505-2795 > Jersey City, NJ 07311 E-mail: colman@ppllc.com > E-mail: jcolman@jnc.com > web: http://www.ppllc.com > Vardan -- vaar@geocities.com
When I type this into dbaccess I get
"Unknown first argument of dbinfo(version)"
Also, where in the docs did you find this?
Thanx!
...Jake
>>>>> "Vardan" == Vardan Aroustamian <Vardan.Aroustamian@chase.com> writes:
Vardan> Jake Colman <colman@ppllc.com> wrote:
>>
>> Is there a way for me to determine at runtime the client version I am
Vardan> running
>> and the version of server to which I am connecting?
Vardan> Yes (assuming your server is 7.x)
Vardan> select dbinfo( 'version', 'full' ) server,
Vardan> scb_feversion client
Vardan> from sysmaster:syssqscb
Vardan> where scb_sessionid = dbinfo( 'sessionid' );
>>
>> Thanx!
>>
>> --
>> Jake Colman
>>
>> Principia Partners LLC Phone: (201) 946-0300
>> Harborside Financial Center Fax: (201) 946-0320
>> 902 Plaza II Beeper: (800) 505-2795
>> Jersey City, NJ 07311 E-mail: colman@ppllc.com
>> E-mail: jcolman@jnc.com
>> web: http://www.ppllc.com
>>
Vardan> Vardan
Vardan> --
Vardan> vaar@geocities.com
--
Jake Colman
Principia Partners LLC Phone: (201) 946-0300
Harborside Financial Center Fax: (201) 946-0320
902 Plaza II Beeper: (800) 505-2795
Jersey City, NJ 07311 E-mail: colman@ppllc.com
E-mail: jcolman@jnc.com
web: http://www.ppllc.com