(German-language version below)
Languages spoken: English and German. Including remote support using pcvisit. All questions regarding Firebird, Delphi®, IBExpert and Lazarus are welcome.
We will schedule a support appointment as soon as possible after receiving your support request and validating your credit. Should you require our support, billing will be in accordance with our general conditions, as described here:
| Standard Hotline: Monday - Friday 08:00 -18:00 (CET): Hotline customer account: - 1 minute for each minute used* |
135 €/hour |
| Hotline Express: Monday - Sunday 08:00 - 22:00 (CET): Hotline customer account: - 2 minutes per minute used* |
270 €/hour |
| Hotline Express Emergency: Monday - Sunday after 22:00 (CET): Hotline customer account: - 3 minutes per minute used* |
405 €/hour |
* We recommend setting up a prepaid hotline customer account with a sufficient credit balance (e.g. 960 minutes) so that we can help you quickly and unbureaucratically in an emergency and you save time and money. Your hotline credit does not expire and can be used as required.
Your hotline customer account will be debited with the exact number of minutes used during a remote or telephone session.
You can find our price list here.
And this is how it works: After activating your hotline customer account in the IBExpert Download Center, you can view your prepaid code, your available hotline minutes and a list of your hotline sessions with start and end times under Hotline Information. You will be connected directly to your contact person via your hotline telephone number, which you will receive by e-mail (no call center!). You should quote the prepaid code when you call.
Our IBExpert and Firebird hotline is available worldwide.
You can find a summary of all IBExpert services and fees under All products & prices. If you have any further questions please mail sales@ibexpert.biz.
Sprachen: Englisch und Deutsch. Inklusive Remote-Support mit pcvisit. Alle Fragen zu Firebird, Delphi®, IBExpert und Lazarus sind willkommen.
Einen Support-Termin vergeben wir schnellstmöglich nach Eingang Ihrer Supportanfrage und Prüfung Ihres Guthabens. Sollten Sie unsere Unterstützung benötigen, erfolgt die Abrechnung gemäß unserer Rahmenbedingungen, wie hier beschrieben:
| Standard Hotline: Montag - Freitag 8.00 -18.00 Uhr (MEZ): Hotline Kundenkonto: - 1 Minute je verbrauchter Minute* |
135 €/Stunde |
| Hotline Express: Montag - Sonntag 8.00 - 22.00 Uhr (MEZ): Hotline Kundenkonto: - 2 Minuten je verbrauchter Minute* |
270 €/Stunde |
| Hotline Express Emergency: Montag - Sonntag ab 22.00 Uhr (MEZ): Hotline Kundenkonto: - 3 Minuten je verbrauchter Minute* |
405 €/Stunde |
* Wir empfehlen, ein prepaid Hotline-Kundenkonto mit einem ausreichend hohen Guthaben einzurichten (z.B. 960 Minuten), so können wir Ihnen im Notfall schnell und unbürokratisch helfen und Sie sparen Zeit und Geld. Ihr Guthaben verfällt nicht und kann bei Bedarf abgerufen werden.
Ihr Hotline-Kundenkonto wird mit der genauen Anzahl der verbrauchten Minuten einer Remote- oder Telefon Session belastet.
Unsere Preisliste finden Sie hier.
Und so geht's: Nach Freischaltung Ihres Hotline-Kundenkontos im IBExpert Download Center können Sie unter Hotline Information Ihren Prepaid Code, Ihre verfügbaren Hotline-Minuten und die Auflistung Ihrer Hotline-Sessions mit Start- und Endzeit einsehen. Sie werden über Ihre Hotline-Telefonnummer, die Sie per E-Mail erhalten, direkt mit Ihrem Ansprechpartner verbunden (kein Call Center!). Ihren Prepaid Code teilen Sie Ihrem Ansprechpartner bei Ihrem Anruf mit.
Unsere IBExpert und Firebird Hotline steht Ihnen auch in Ländern außerhalb Deutschlands zur Verfügung.
Eine Übersicht aller IBExpert Dienstleistungen und Gebühren finden Sie unter Alle Produkte & Preise. Wenn Sie weitere Fragen haben, senden Sie bitte eine Mail an sales@ibexpert.biz.
(German-language version below)
If you are confronted with a damaged or corrupt database we can often offer a rapid solution without even having to come out and analyze the corrupt database on site. Before we can provide you with our database repair estimate, we must first analyse your database.
For the database analysis we charge a prepayment fee of EUR 150.00. Should you require a prompt database analysis, e.g. due to an emergency, we charge a prepayment fee of EUR 300.00.
If a database repair is possible following the analysis, you will receive our written cost estimate. Experience shows that we can repair most databases.
After you have contacted us and outlined your database problem, send a copy of your database (postal address here) compressed as a ZIP or 7Z file, ideally on a USB stick or USB drive. Please ensure as far as possible that individual ZIP files are no larger than 10MB (most ZIP applications allow you to pack into multiple files).
Please don't forget to mention which software you are using and which Firebird version is in use.
If the database is smaller than 50MB, you can mail it to us at: sales@ibexpert.biz.
Alternatively we can provide an FTP upload address for larger databases.
Any data media supplied will be returned and charged separately if wished.
Wenn Ihre Datenbank beschädigt ist, können wir eine schnelle Lösung anbieten, ohne dass wir bei Ihnen vor Ort die defekte Datenbank analysieren müssen. Bevor wir Ihnen unseren Kostenvoranschlag zur Datenbankreparatur unterbreiten können, müssen wir zunächst einmal ihre Datenbank analysieren.
Für die Datenbankanalyse berechnen wir eine Aufwandsentschädigung von 150,00 Euro per Vorauskasse. Sollten Sie eine zeitnahe Datenbankanalyse wünschen, z.B. wegen eines Notfalls, berechnen wir eine Aufwandsentschädigung in Höhe von 300,00 Euro per Vorauskasse.
Wenn nach erfolgter Analyse eine Datenbankreparatur möglich ist, erhalten Sie unseren Kostenvoranschlag. Erfahrungswerte zeigen, dass wir die meisten Datenbanken reparieren können.
Nachdem Sie uns kontaktiert und Ihre Datenbankproblematik geschildert haben, senden Sie uns (unsere Postanschrift finden Sie hier) eine Kopie Ihrer Datenbank, gepackt als ZIP oder 7Z Datei vorzugsweise auf einem USB Stick oder USB-Laufwerk. Die einzelnen ZIP-Dateien sollten möglichst nicht größer als 10MB sein (die meisten ZIP Anwendungen ermöglichen die Komprimierung in mehrere Dateien).
Bitte vergessen Sie nicht, uns die eingesetzte Software- und Firebird Version mitzuteilen.
Wenn die Datenbank kleiner als 50MB ist, können Sie diese auch per E-Mail senden: sales@ibexpert.biz.
Für große Datenbanken erhalten Sie eine FTP Upload Adresse.
Gelieferte Medien erhalten Sie auf Wunsch mit separater Rechnung zurück.
Don’t Panic – and always know who can help
Before you rush to disconnect all Firebird servers from the power supply and run to the server room, remain calm.
The current Firebird security alert sounds more dramatic than it is for the majority of users. The good news is that if your Firebird server is not directly accessible via the Internet, you can breathe a sigh of relief for the time being.
For those who are actually using an open port, there are quick and easy workarounds (no galactic quantum computers required). You will find the most important information on the following pages.
So: read the following instructions, contact the IBExpert Firebird support hotline if necessary, and act promptly – without hyperventilating.
... continue reading: Firebird security alert – classification & instructions
Are you planning to upgrade to Firebird 5?
We are currently preparing a Firebird 5 update and know-how workshop, to take place in November 2025. You will also have the opportunity to exchange ideas and network in a relaxed atmosphere in the evening.
Before we finalise specific details, we would like to know whether you are interested in such a training course? And which location in Europe or ROW - Rest of World would be most convenient for you to attend?
If you would like to participate in such a workshop in November 2025, we would be delighted to hear from you at sales@ibexpert.biz. Your preferred location is also very helpful for us.
In our 2-day workshop, we will show you everything you need for a successful upgrade and smooth operation - with lots of practical examples and tips from real customer projects.
Highlights:
Ideal for developers and decision-makers currently using Firebird 2.x, 3.x or 4.0, because many topics apply to older versions as well.
Detailed workshop content: Workshop Firebird 5 update and know-how
Language: English
Duration: 2 days 09:00 - 17:00
Price per person 699 EUR
excl. travel & accommodation
Thank you for your feedback! It helps us to tailor the event to your requirements.
Best regards
Your IBExpert Team
(German-language version below)
Information about the controller
| Company: | IBExpert Ltd |
| Legal representative: | Holger Klemt |
| Address: |
22 Triq Ir-Rabat Marsalforn, Iz-Zebbug MFN 9012 Malta |
| Contact: | info@ibexpert.com |
As part of the registration process for our newsletter, you will need to provide us with your e-mail address and other optional data. We will only use this information to send you the newsletter. We will store the data you provide when registering for the newsletter until you unsubscribe from our newsletter. It is possible to unsubscribe at any time via the link provided in the newsletter, or by providing us with appropriate notification. By unsubscribing you withdraw your consent to the use of your e-mail address.
Furthermore, we will only use your e-mail address, which we have obtained in connection with the sale of a product or service, exclusively for direct marketing in the form of our newsletter for similar products or services of our own company to those purchased, unless you have objected to this use. You may withdraw permission to use your e-mail address at any time without incurring any costs other than the base rate transmission costs. Your objection (and thus the cancellation of our newsletter) can be exercised by an appropriate message to our e-mail address.
This website uses its own "cookies" to increase user-friendliness ("Cookies" are data records sent by the web server to the user's browser and stored there for subsequent retrieval). Our custom "cookies" do not store any personal information. You can generally prevent the use of "cookies" by setting your browser to disallow the storage of "cookies".
Personal data is only collected if you provide it to us voluntarily. No additional personal data is collected. Any processing of your personal data that goes beyond the scope of the statutory conditions will only be based on your express consent.
| Processing purpose: | Contract execution. |
| Categories of recipients: | Public entities with priority legislation. External service providers or other contractors. Other external bodies if the data subject has given his consent or the transmission of the data is permitted by another prevailing interest. |
| Third country transfers: | Within the scope of the contract execution, processors based outside the European Union may also be used. |
| Storage period: | The duration of the data storage depends on the statutory storage requirements and usually constitutes a period of 10 (ten) years. |
Data provided for the execution of contracts, software activation and usage information; if necessary, additional data for processing, if the data subject has given his explicit consent.
| Processing purpose: | Contract execution, as well as the activation, registration and administration of the IBExpert software registrations and, if relevant, administration of the support hotline account (balance and usage). |
| Categories of recipients: | Public entities with priority legislation. External service providers or other contractors. Other external bodies if the data subject has given his consent or the transmission of the data is permitted by another prevailing interest. |
| Third country transfers: | Within the scope of the contract execution, processors based outside the European Union may also be used. |
| Storage period: | The duration of the data storage depends on the statutory storage requirements and usually constitutes a period of 10 (ten) years. |
Contract execution; if necessary, additional data for processing, if the data subject has given his explicit consent.
| Processing purpose: | Contract fulfilment. |
| Categories of recipients: | Public entities with priority legislation. External service providers or other contractors. Other external bodies if the data subject has given his consent or the transmission of the data is permitted by another prevailing interest. |
| Third country transfers: | Within the scope of the contract execution, processors based outside the European Union may also be used. |
| Storage period: | The duration of the data storage depends on the statutory storage requirements and usually constitutes a period of 10 (ten) years. |
| Affected data: | Application information. |
| Processing purpose: | Implementation of the job application process. |
| Categories of recipients: | Public entities with priority legislation. External service providers or other contractors. Other external bodies if the data subject has given his consent or the transmission of the data is permitted by another prevailing interest. |
| Third country transfers: | Within the scope of the contract execution, processors based outside the European Union may also be used. |
| Storage period: | Application data will generally be deleted within four months following notification of the decision, unless consent has been given for a longer period of data storage. |
In addition, you also have the right to demand the amendment, deletion or restricted processing of data, or to exercise your right of objection to processing and the right to data portability at any time. Here you can contact us by e-mail or letter. You also have the right to contact the data protection authorities in the event of any grievances.
IBExpert Ltd reserves the right to update this privacy policy as necessary to adapt to technical developments or in connection with the offer of new services or products. The latest version can always be viewed on the website https://ibexpert.net/cms/ via the Website Privacy Policy link.
Angaben zur verantwortlichen Stelle
| Unternehmen: | IBExpert Ltd |
| Gesetzlicher Vertreter: | Holger Klemt |
| Adresse: |
22 Triq Ir-Rabat Marsalforn, Iz-Zebbug MFN 9012 Malta |
| Kontaktdaten: | info@ibexpert.com |
Im Rahmen der Registrierung unseres Newsletters teilen Sie uns Ihre E-Mail-Adresse und optional weitere Daten mit. Diese Angaben verwenden wir ausschließlich, um Ihnen den Newsletter zuzusenden. Ihre bei der Newsletter-Anmeldung eingegebenen Daten bleiben bei uns gespeichert, bis Sie sich wieder von unserem Newsletter abmelden. Eine Abmeldung ist jederzeit über den dafür vorgesehenen Link im Newsletter oder eine entsprechende Mitteilung an uns möglich. Mit der Abmeldung widersprechen Sie der Nutzung Ihrer E-Mail-Adresse.
Ihre E-Mail-Adresse, die wir im Zusammenhang mit dem Verkauf einer Ware oder Dienstleistung erhalten, nutzen wir darüber hinaus ausschließlich für Direktwerbung in Form unseres Newsletters für eigene ähnliche Waren oder Dienstleistungen, wie die von Ihnen bestellten, sofern Sie dieser Verwendung nicht widersprochen haben. Sie können der Verwendung Ihrer E-Mail-Adresse jederzeit widersprechen, ohne dass hierfür andere als die Übermittlungskosten nach den Basistarifen entstehen. Ihr Widerspruch (und damit die Abbestellung unseres Newsletters) kann durch entsprechende Nachricht an unsere E-Mail-Adresse (siehe Impressum) ausgeübt werden.
Diese Webseite verwendet eigene „Cookies“, um die Benutzerfreundlichkeit zu erhöhen („Cookies“ sind Datensätze, die vom Webserver an den Browser des Nutzers gesendet und dort für einen späteren Abruf gespeichert werden). In unseren eigenen „Cookies“ werden keinerlei personenbezogene Daten gespeichert. Sie können die Verwendung von „Cookies“ generell verhindern, wenn Sie in Ihrem Browser die Speicherung von „Cookies“ untersagen.
Personenbezogene Daten werden nur erhoben, wenn Sie uns diese von sich aus mitteilen. Darüber hinaus werden keine personenbezogenen Daten erhoben. Eine über die Reichweite der gesetzlichen Erlaubnistatbestände hinausgehende Verarbeitung Ihrer personenbezogenen Daten erfolgt nur auf Grundlage Ihrer ausdrücklichen Einwilligung.
| Verarbeitungszweck: | Vertragsdurchführung. |
| Kategorien von Empfängern: | Öffentliche Stellen bei Vorliegen vorrangiger Rechtsvorschriften. Externe Dienstleister oder sonstige Auftragnehmer. Weitere externe Stellen soweit der Betroffene seine Einwilligung erteilt hat oder eine Übermittlung aus überwiegendem Interesse zulässig ist. |
| Drittlandtransfers: | Im Rahmen der Vertragsdurchführung können auch Auftragsverarbeiter außerhalb der Europäischen Union zum Einsatz kommen. |
| Dauer Datenspeicherung: | Die Dauer der Datenspeicherung richtet sich nach den gesetzlichen Aufbewahrungspflichten und beträgt in der Regel 10 Jahre. |
Zur Vertragsdurchführung mitgeteilte Daten, Lizenz- und Nutzungsinformationen; ggfs. darüber hinaus gehende Daten zur Verarbeitung auf Basis Ihrer ausdrücklichen Einwilligung.
| Verarbeitungszweck: | Vertragsdurchführung, sowie die Aktivierung, Registrierung und Verwaltung der IBExpert Software Registrierungen sowie ggfs. Verwaltung von Support Hotline Guthaben und Verbrauch. |
| Kategorien von Empfängern: | Berechtigte Mitarbeiter der IBExpert GmbH Öffentliche Stellen bei Vorliegen vorrangiger Rechtsvorschriften. Externe Dienstleister oder sonstige Auftragnehmer. Weitere externe Stellen soweit der Betroffene seine Einwilligung erteilt hat oder eine Übermittlung aus überwiegendem Interesse zulässig ist. |
| Drittlandtransfers: | Im Rahmen der Vertragsdurchführung können auch Auftragsverarbeiter außerhalb der Europäischen Union zum Einsatz kommen. |
| Dauer Datenspeicherung: | Die Dauer der Datenspeicherung richtet sich nach den gesetzlichen Aufbewahrungspflichten und beträgt in der Regel 10 Jahre. |
Zur Vertragsdurchführung mitgeteilte Daten; ggfs. darüber hinaus gehende Daten zur Verarbeitung auf Basis Ihrer ausdrücklichen Einwilligung.
| Verarbeitungszweck: | Vertragsdurchführung. |
| Kategorien von Empfängern: | Öffentliche Stellen bei Vorliegen vorrangiger Rechtsvorschriften. Externe Dienstleister oder sonstige Auftragnehmer. Weitere externe Stellen soweit der Betroffene seine Einwilligung erteilt hat oder eine Übermittlung aus überwiegendem Interesse zulässig ist. |
| Drittlandtransfers: | Im Rahmen der Vertragsdurchführung können auch Auftragsverarbeiter außerhalb der Europäischen Union zum Einsatz kommen. |
| Dauer Datenspeicherung: | Die Dauer der Datenspeicherung richtet sich nach den gesetzlichen Aufbewahrungspflichten und beträgt in der Regel 10 Jahre. |
| Betroffene Daten: | Bewerbungsangaben |
| Verarbeitungszweck: | Durchführung Bewerbungsverfahren |
| Kategorien von Empfängern: | Öffentliche Stellen bei Vorliegen vorrangiger Rechtsvorschriften. Externe Dienstleister oder sonstige Auftragnehmer. Weitere externe Stellen soweit der Betroffene seine Einwilligung erteilt hat oder eine Übermittlung aus überwiegendem Interesse zulässig ist. |
| Drittlandtransfers: | Im Rahmen der Vertragsdurchführung können auch Auftragsverarbeiter außerhalb der Europäischen Union zum Einsatz kommen. |
| Dauer Datenspeicherung: | Bewerbungsdaten werden nach Mitteilung der Entscheidung in der Regel binnen vier Monaten gelöscht, soweit nicht eine Einwilligung in eine längere Datenspeicherung vorliegt. |
Darüber hinaus können Sie jederzeit Ihre Ansprüche auf Berichtigung oder Löschung oder auf Einschränkung der Verarbeitung oder der Wahrnehmung Ihres Widerspruchsrechts gegen die Verarbeitung sowie das Recht auf Datenübertragbarkeit geltend machen. Hier finden Sie die Möglichkeit, uns per E-Mail oder Brief zu kontaktieren. Sie haben ferner das Recht, sich bei Beschwerden an die Datenschutz-Aufsichtsbehörde zu wenden.
IBExpert Ltd behält sich vor, diese Datenschutzerklärung bei Bedarf zur Anpassung an technische Entwicklungen oder im Zusammenhang mit dem Angebot neuer Dienstleistungen oder Produkte zu aktualisieren. Die aktuelle Version können Sie stets auf der Internetseite https://ibexpert.net/cms/ über den Link Webseiten-Datenschutzerklärung einsehen.
(German-language version below)
Firebird Administrator intensive training with emphasis on speed, security and interfaces.
In our Firebird Power Workshop, we focus on the tasks that an administrator needs to perform to effectively run a Firebird server. The aim is to achieve the optimum speed of the hardware and software used, to guarantee maximum operational reliability, and to be optimally prepared for a breakdown by means of a suitable worst-case scenario. We will also concentrate on the independent implementation of simple requirements in the areas of import, export and reporting.
After an introduction to the basic Firebird technology, the most important files and installation versions for Windows and Linux with Firebird versions 2.x and 3.x will be explained.

Firebird Administrator intensiv-Training mit Schwerpunkt auf Geschwindigkeit, Sicherheit und Schnittstellen.
In unserem Firebird Power Workshop konzentrieren wir uns auf die Aufgaben, die ein Administrator für den effektiven Betrieb eines Firebird-Servers erfüllen muss. Ziel ist es, die optimale Geschwindigkeit der eingesetzten Hardware und Software zu erreichen, eine maximale Betriebssicherheit zu gewährleisten, sowie durch ein geeignetes Worst-Case-Szenario für einen Ausfall optimal vorbereitet zu sein. Auch auf die selbstständige Umsetzung einfacher Anforderungen im Bereich Import, Export und Reporting werden wir uns konzentrieren.
Nach einer Einführung über die Basistechnologie werden die wichtigsten Dateien und Installationsversionen für Windows und Linux mit den Firebird Versionen 2.x und 3.x vermittelt.
IBEScript.exe can be found in the IBExpert root directory, and needs to be started from DOS. (This feature is unfortunately not included in the free IBExpert Personal Edition.)
For regulations regarding distribution of any of the IBExpert Server Tools modules (hkSCC.exe, ibescript.exe, ibescript.dll and fbcrypt) together with your application, please refer to the IBExpert Server Tools documentation contents page.
IBEScript script_filename [options]
WARNING! All options are case-sensitive!
Example 1: IBEScript C:\My Scripts\CreateDB.sql
Example 2: IBEScript C:\MyScripts\CreateDB.sql -S -VScriptLog.txt
The following features are also available: when no password and/or user name are specified in the CONNECT or CREATE DATABASE statements, a login dialog will appear. It is also possible to change the connection character set (SET NAMES) and garbage collection option (SET GARBAGE_COLLECT) before the RECONNECT statement. Any SET commands mentioned which are followed by a RECONNECT statement will affect the new connection.
It is also possible to use environment variables in INPUT, OUTPUT and SET BLOBFILE statements (see example below).
UTF8 BOM is skipped when executing a script from file.
The OUTPUT command also supports the OctetsAsHex option, which allows the extraction of CHAR(n) CHARACTER SET OCTETS values in hexadecimal format.
1. IBEBlock technology to create procedures with access to data in different Firebird/InterBase® databases
A simple script to copy data from one Firebird/InterBase® database to another:
execute ibeblock
as
begin
FBSrc = ibec_CreateConnection(__ctFirebird,'DBName="localhost:C:\DB1.FDB";
ClientLib=C:\Program Files\Firebird\Bin\fbclient.dll;
user=SYSDBA; password=masterkey; names=WIN1252; sqldialect=3');
FBDest = ibec_CreateConnection(__ctFirebird,'DBName="localhost:C:\DB2.FDB";
ClientLib=C:\Program Files\Firebird\Bin\fbclient.dll;
user=SYSDBA; password=masterkey; names=WIN1252; sqldialect=3');
ibec_UseConnection(FbSrc);
for select CustNo, Company, Addr1 from customer order by company into :CustNo, :Company,
:Addr1
do
begin
use FBDest;
INSERT INTO CUSTOMER (CustNo, Company, Addr1) VALUES (:CustNo, :Company, :Addr1);
use FBSrc;
end
use FBDest;
COMMIT;
ibec_CloseConnection(FBSrc);
ibec_CloseConnection(FBDest);
end
2. ODBC access to all ODBC data sources for importing or exporting data from a script
The same can also be done with any ODBC data source as the source and/or destination (this functionality has been tested with IBM DB2®, Oracle®, MS Access®, Sybase® etc.):
execute ibeblock
as
begin
OdbcCon = ibec_CreateConnection(__ctODBC, 'DBQ=C:\demo.mdb; DRIVER=Microsoft Access
Driver (*.mdb)');
FBCon = ibec_CreateConnection(__ctFirebird,'DBName="AVX-MAIN:D:\FB2_DATA\IBEHELP.FBA";
ClientLib=C:\Program Files\Firebird\Bin\fbclient.dll;
user=SYSDBA; password=masterkey; names=WIN1251; sqldialect=3');
ibec_UseConnection(OdbcCon);
for select CustNo, Company, Addr1 from customer order by company into :CustNo, :Company,
:Addr1
do
begin
use FBCon;
INSERT INTO CUSTOMER (CustNo, Company, Addr1) VALUES (:CustNo, :Company, :Addr1);
use OdbcCon;
end
use FBCon;
COMMIT;
ibec_CloseConnection(OdbcCon);
ibec_CloseConnection(FBCon);
end
3. Comparing databases from scripts
The following script compares the structure of two Firebird/InterBase® databases and stores a script that can be used to synchronize the database structure in the destination database: Save the following text as c:\comp.sql:
execute ibeblock
as
begin
create connection ReferenceDB dbname 'localhost:c:\RefDB.fdb'
password 'masterkey' user 'SYSDBA'
clientlib 'C:\Program Files\Firebird\bin\fbclient.dll';
create connection CustomerDB dbname 'localhost:c:\customerDB.fdb'
password 'masterkey' user 'SYSDBA'
clientlib 'C:\Program Files\Firebird\bin\fbclient.dll';
cbb = 'execute ibeblock (LogMessage variant)
as
begin
ibec_progress(LogMessage);
end';
ibec_CompareMetadata(ReferenceDB, CustomerDB, 'C:\CompRes.sql', 'OmitDescriptions; OmitGrants', cbb);
close connection ReferenceDB;
close connection CustomerDB;
end
Now run the following command line to create the script and synchronize the databases:
ibescript.exe c:\comp.sql ibescript.exe c:\compres.sql
ibec_CreateReport prepares a report from a specified source and returns prepared report data. For preparing the initial report please refer to the IBExpert Report Manager.
This feature can be used for executing reports created with the IBExpert Report Manager in command-line mode, for example with batch files. The monthly sales report, invoices or other such reports can be designed in the Report Manager and executed with simple SQL statements. The result can then be saved in the database as a PDF file or other formats and sent by email or exported using ibec_ExportReport.
execute ibeblock
as
begin
Params['HeaderMemo'] = '';
Params['MEMO2'] = 2;
SELECT IBE$REPORT_SOURCE FROM ibe$reports
where ibe$report_id = 4
into :RepSrc;
Report = ibec_CreateReport(RepSrc, Params, null);
ibec_SaveToFile('D:\reptest.fp3', Report, 0);
Res = ibec_ExportReport(Report, 'D:\reptest.pdf', __erPDF, 'EmbeddedFonts=TRUE');
Res = ibec_ExportReport(Report, 'D:\reptest.jpg', __erJPEG, 'CropImages; Quality=90');
end
5. File import into blob fields from SQL scripts
The following script imports the data from the files into the table TEST:
SET BLOBFILE 'C:\f1.jpg'; INSERT INTO TEST(ID,BLOBCOL) VALUES (1, :h00000000_7FFFFFFF); SET BLOBFILE 'C:\f2.jpg'; INSERT INTO TEST(ID,BLOBCOL) VALUES (2, :h00000000_7FFFFFFF); SET BLOBFILE 'C:\f3.jpg'; INSERT INTO TEST(ID,BLOBCOL) VALUES (3, :h00000000_7FFFFFFF);
The same syntax can be used for updating blob data.
6. Using environment variables in INPUT, OUTPUT and SET BLOBFILE statements
execute ibeblock
as
begin
ibec_SetEnvironmentVariable('MyScriptDir', 'D:\Scripts\MyScripts');
ibec_SetEnvironmentVariable('MyDataDir', 'D:\Data');
ibec_SetEnvironmentVariable('MyBlobData', 'D:\Data\Blobs');
end;
SET BLOBFILE '\mytable.lob';
OUTPUT '\mytable.sql';
select * from mytable
asinsert;
COMMIT;
INPUT '\ProcessData.sql';
These are just a few examples of the many tasks you can do with IBEScript. The full syntax and parameter list for ibec_CompareMetadata can be found in the online documentation, along with a full list of all current IBEBlock commands.
There are two possible ways to encrypt/decrypt scripts and to execute encrypted scripts:
The following options control the encrypting and decrypting:
Again: all options are case-sensitive!
Example 1
IBEScript "C:\MyScripts\CreateDB.sql"
Example 2
IBEScript C:\MyScripts\CreateDB.sql -S -UScriptLog.txt
This product can be purchased as part of the distribution software listed above.
See also:
Firebird Interactive SQL Utility
IBEBlock
Script Executive