Sqlbase version

Discussion forum about all things SqlBase.
FRBhote
India
Posts: 2172
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Sqlbase version

Post by FRBhote » 16 Jun 2020, 12:05

How can I query the sqlbase version from TD? I'd like to know which version of SB is running.

The sql.h has:
DESCRIPTION
This file contains structure definitions and defined constants used to
interface with SQLBASE. For a more complete definition see "SQLBASE: C
Programmer's Guide".
*/

/* VERSION NUMBER */
#define SQLVERS 80500 /* version number */
#define SQLAPIV 00102 /* API version number since 3.6 */

User avatar
Peter.Hugk
Germany
Posts: 340
Joined: 06 Mar 2017, 07:48
Location: Germany

Re: Sqlbase version

Post by Peter.Hugk » 16 Jun 2020, 12:26

Try something like this:
Call SqlGetParameter( hSql, DBP_VERSION, nTmp, sDBVersion )

Regards,
Peter

FRBhote
India
Posts: 2172
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: Sqlbase version

Post by FRBhote » 16 Jun 2020, 12:29

Thanks!

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 1 guest