Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8025161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:04:33+00:00 2026-06-04T23:04:33+00:00

I have a Firebird 2.1.1 database deployed over a LAN. In a recent upgrade

  • 0

I have a Firebird 2.1.1 database deployed over a LAN. In a recent upgrade I used an FB internal function (COALESCE). When I was testing my Delphi app on my development machine there were no problems.

But when I tried to run a query on a production machine I received an error message telling me that the function (COALESCE) was unavailable.

Coalesce is a built in internal function in FB. It is not a UDF or a stored proc, it is built in.

Q: Why does a query using Coalesce work on my development machine but not a production machine?

Some more Info:

  • XP pro SP2 on both
  • My program is developed in Delphi 3.0 with BDE
  • BTW: I installed FB server on the workstation (production machine) and, low and behold, the query using Coaclesce works! I thought Coaclesce was an internal function?! I don’t want to have to install FB Server on every machine. There are over seventy workstations in three different locations.

Normally I have FB (ver 2.1.1) installed on one machine running XP. This is my designated database server. All workstations running my app get their data from this server. I upgraded my app and changed the schema of the FB database that resides on my server that my client side app uses. One of the changes that I made was that I am using FB internal funcations for the first time. Specifically I am using function COALESCE. When I run my app on a workstation I get the following error message:
-SQL error code = -804
-Function unknown
-COALESCE
The app running on the workstation is running a select statement against the database on the server that uses COALESCE.

Here’s the interesting part: The query containing COALESCE ran fine on my development machine (which is another workstation on our network) but not my users’ workstations (production machines). So I asked myself “What’s the different about my development computer?” Well it has FB server on it. So I installed FB server on a user’s workstation (FB is now on our server + on the workstation running my app) and: I don’t get the error anymore! My app is still using the server’s database (not the workstation’s) but it’s as if by having a full FB server on the client workstation my app can now find the internal FB functions.

I have been assuming that FB internal functions are part of the server install. They don’t need to be copied to workstations and they don’t need to be declared. They are like SUM, MIN, MAX or AVG.

Q: Why don’t Firebird Internal functions run on Firebird client conmputers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:04:35+00:00Added an answer on June 4, 2026 at 11:04 pm

    The Firebird’s client library “fbclient.dll” (or perhaps renamed as “gds32.dll”) parse the statement and validates the SQL keywords that are used.

    It is not necessary to install the server on the client machines.

    What happened is that the machine was running with an old version of the client library (maybe BDE has been distributed with an old “gds32.dll”) that not recognize the “COALESCE” keyword. When you installed the server version 2.1.1 it also install the updated client modules, and possibly replaced the old “gds32.dll” in the system directory for a “fbclient.dll” (option checked by default in the server installer) compatible with Firebird 2.1, renamed as “gds32.dll”.

    You can attempt to reproduce the problem, search for all copies of “fbclient.dll” and “gds32.dll” in the workstation, and then notice if they are really old version, and try replace only this specific files, without install the server in the client machines.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following function which reads from a firebird database. The Function works
I have a Firebird database (running on server version 2.1.3) and am connecting to
I have a Firebird database, which let's say has Tables A and B which
I have a dotnet application with a Firebird Database back-end. I am planning to
I seem to have an issue with connecting to an embedded FireBird database from
If it matters, I'm using Firebird 2.1 database. I have three tables, one with
The problem is simple: I have triggers and generators in my Firebird 2.1.4 database
I have redesigned my Firebird based SQL database. As part of this process I
I have a firebird datebase, some tables have timestamp. For example, my database returns
I'm using firebird database and it does not seem to have ROWNUM or ROW_NUMBER()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.