Subject | Re: Firebird and Interbase |
---|---|
Author | Adam |
Post date | 2006-02-10T01:12:35Z |
> I seems that both Interbase and Firebird run fine along side.Not the interbase one, but rather the version of gds32.dll created by
> I have a couple of questions:
> 1. For the IBX legacy apps to work properly, should the interbase
> gds32.dll
> by copied to the IBX application root directory.
the Firebird Installer or by instclient.exe. Basically it is the same
as fbclient.dll, but it tricks the IBX components into connecting
happily to Firebird.
> 2. If it isn't, what database server will the application attempt toif both
> connect
> to if no port or service name is defined in the connection string
> services are running at the same time. (is this governed by whateverIf you are using a TCP connection, then the server that you will be
> gds32.dll the application is interfacing with?)
talking to is the one listening to the port you connect to. IB / FB
both use 3050 by default (or if you dont explicitly define one). It
is not a good idea to use the IB client library against the FB server
and vice versa.
> 3. I have a database comparing application I have developed toperform
> metadata changes for new versions of the application. 99% of theapp runs
> file using Firebird. However when attempting to create/alter certainan
> stored
> procedures the following message it show:
> GetNumberStoredProcInput
> Dynamic SQL Error
> SQL Error Code = -104
> Invalid Expression in the ORDER BY clause (not contained in either
> aggregate function of the Group By Clause)Post the query itself. I know that FB will let you order by a field
not in your resultset, but I do not know how this works with an
aggregate (sum / count / min / max / etc) involved.
All well written queries in IB 6 will work in FB, but where there may
be ambiguities FB will reject the query, where IB will accept it and
return something (that something may not be what you expected by the
way).
Adam