GBINFO
Материал из GB wiki
Возвращает информацию о версиях gb.exe, dbclient, сервере и клиенте Firebird.
Синтаксис
GBINFO()
Аргументы
Тип результата
- Строка.
Примеры
GbInfo() вернёт примерно такую информацию:
[GB]
ModuleName=C:\DOCUME~1\myuser\LOCALS~1\Temp\gb.exe
Version=2.0.0.121
FileVersion=2.0.0.121
InternalName=GB5
ProductVersion=2.0.0.22
[DbClient]
InternalName=HyperBase
Version=4.0.0.0
[Server]
ServerVersion=WI-V6.3.5.26952 Firebird 2.5
[Client]
ModuleName=C:\WINDOWS\system32\fbclient.dll
Version=2.1.7.18553
CompanyName=Firebird Project
FileDescription=Firebird SQL Server
FileVersion=WI-V2.1.7.18553
InternalName=Firebird
LegalCopyright=All Copyright (c) retained by individual contributors - original code Copyright (c) 2000 Inprise Corporation
ProductName=Firebird SQL Server
ProductVersion=2.1.7.18553
Comments=This product created by the Firebird - All Copyright (c) retained by the individual contributors -
original code Copyright (c) 2000 Inprise Corporation and predecessors.
Получить значение поля Version из раздела DbClient:
GetHeap(GbInfo(), `Version`, `DbClient` )