Subject Re: [firebird-support] Is This Database Running As Embedded Server or Client Server?
Author Martijn Tonies
Hello Larry,

> I have a backup utility that needs to run with apps using embedded
> server or client-server versions of Firebird.
> This utility needs to know if it's running embedded, so it won't run
> svc->Shutdown().
> I don't see a column in a system table that will tell me if I'm running
> an embedded server or a client-server version of Firebird.
> How can this utility know the server type?

Why do yu want to shut down the server anyway?

Is it so you can safely copy the database file(s)?

If so, I suggest a different approach:
- run "gbak", or use the "Services API" of Firebird to create a Firebird
- copy the resulting file

With regards,

Martijn Tonies
Upscene Productions

Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!

Database questions? Check the forum: