Subject Re: [firebird-support] Re: How to identify database created by Firebird 1.5 or Interbase 6.5?
Author Martijn Tonies
> >>Thanks for the reply. If I follow your instruction, I can identity
> >>if it is FB 1.5 database or FB 1.03 database.
> >>
> >>But my problem is how to identity FB 1.5 database and Interbase 6.5
> >>database since both database has same ODS 10.1. Do you mean the
> >>Interbase 6.5 don't have the indices you mentioned?
>
> Get database version string.
> If contain "Firebird" substring...
>
> BCB sample code:
>
> AnsiString __fastcall TeMeL_IBDatabase::GetServerVersion(void)
> {

That's the server using the database, not the database itself.

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com