Creating a new database

86 views
Skip to first unread message

SP Ooi

unread,
Jun 12, 2025, 12:13:22 PMJun 12
to firebird...@googlegroups.com
We used gdl files followed by gdef before in Firebird 1.5 years ago to create new databases.

Can someone share what the equivalence is in Firebird 5.x please?

SP
Sent from mobile device

Dimitry Sibiryakov

unread,
Jun 12, 2025, 12:16:50 PMJun 12
to firebird...@googlegroups.com
SP Ooi wrote 12.06.2025 18:12:
> We used gdl files followed by gdef before in Firebird 1.5 years ago to create
> new databases.

I'm not aware of any utility with such name in Firebird starting from 1.0.

> Can someone share what the equivalence is in Firebird 5.x please?

isql is usually used for such tasks.

--
WBR, SD.

SP Ooi

unread,
Jun 12, 2025, 1:02:09 PMJun 12
to firebird...@googlegroups.com
Thank you.

We tried with "isql -a" but no views showed up.

SP
Sent from mobile device

--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/firebird-support/fc399e97-cb44-438e-8dc4-ef17330fbddf%40ibphoenix.com.

Nikolaus Kern

unread,
Jun 12, 2025, 1:08:13 PMJun 12
to firebird-support
Hello,

I admire the patience of the maintainer of Firebird to respond to questions like this...

If there is no interesst in reading the Firebird book or the available documentation you might want to wait for "Firebird - the movie" or try a tool like ChatGP: ""How can I setup a new database with firebird 5 ?"

SP Ooi

unread,
Jun 12, 2025, 1:11:14 PMJun 12
to firebird...@googlegroups.com
Nikolaus,

I originally just asked if there was an equivalence for gdef & gdl.

But thanks for your comments.

SP
Sent from mobile device

Nikolaus Kern

unread,
Jun 12, 2025, 1:20:58 PMJun 12
to firebird-support
Hi,

I didn´t want to add sarcasm to a very productive group like this.

Nevertheless I am using Firebird for about 20 years now an read about gdef the very first time... It seems that this is an old method to create DBs.

https://www.firebirdsql.org/file/documentation/release_notes/html/en/2_5/rnfb25-compat-utils.html says "gdef will no longer be supported at all. Instead, isql should be used, with regular DDL commands."

Niko

Frank Schlottmann-Gödde

unread,
Jun 12, 2025, 1:33:31 PMJun 12
to firebird...@googlegroups.com
Am 12.06.25 um 18:16 schrieb 'Dimitry Sibiryakov' via firebird-support:
> SP Ooi wrote 12.06.2025 18:12:
>> We used gdl files followed by gdef before in Firebird 1.5 years ago to
>> create new databases.
>
>   I'm not aware of any utility with such name in Firebird starting from
> 1.0.
>
Dudley – Sounds like DDL (data definition language) and is the pre
(interbase) 4.0 data definition utility GDEF. It’s actually named after
Dudley Doright, a character from Rocky and Bullwinkle. GDEF accepts a
data definition language based on GDML.

gone in FB3.0
OpenPGP_0x358F2D05520C10AB.asc
OpenPGP_signature.asc

SP Ooi

unread,
Jun 12, 2025, 1:44:44 PMJun 12
to firebird...@googlegroups.com
Hi,

Company started using this tool in the 1980s, from Borland Interbase ... to Firebird 1.x on SunOS ... to Firebird 1.5.6 on Linux. We are working on converting more than 665 thousand database files to Firebird 5.x after our management finally approved to use Firebird longer term and with the development effort to migrate.

We sort of inherited this environment.

We had tried to use "isql -a <database>" to "extract metadata incl. legacy non-SQL tables" but the output did not produce any "CREATE VIEW" even though there were views defined in the database.

SP
Sent from mobile device

SP Ooi

unread,
Jun 12, 2025, 1:47:33 PMJun 12
to firebird...@googlegroups.com
Thank you.

SP
Sent from mobile device

--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Frank Schlottmann-Gödde

unread,
Jun 12, 2025, 2:01:45 PMJun 12
to firebird...@googlegroups.com
Am 12.06.25 um 19:44 schrieb SP Ooi:
> Hi,
>
> Company started using this tool in the 1980s, from Borland Interbase ...
> to Firebird 1.x on SunOS ... to Firebird 1.5.6 on Linux. We are working
> on converting more than 665 thousand database files to Firebird 5.x
> after our management finally approved to use Firebird longer term and
> with the development effort to migrate.
>
> We sort of inherited this environment.
>
> We had tried to use "isql -a <database>" to "extract metadata incl.
> legacy non-SQL tables" but the output did not produce any "CREATE VIEW"
> even though there were views defined in the database.

Could you try to use
SHOW VIEWS;
from isql.

Firebird 1.5 should still have qli installed, you may try to check if
qli is able to display the views.

good luck

hth
fsg
OpenPGP_0x358F2D05520C10AB.asc
OpenPGP_signature.asc

SP Ooi

unread,
Jun 12, 2025, 2:07:23 PMJun 12
to firebird...@googlegroups.com
Hi,

Yes, "show views" showed the views correctly. (Firebird 5.0.1 database)

SP
Sent from mobile device

--
Support the ongoing development of Firebird! Consider donating to the Firebird Foundation and help ensure its future. Every contribution makes a difference. Learn more and donate here:
https://www.firebirdsql.org/donate
---
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.

Frank Schlottmann-Gödde

unread,
Jun 12, 2025, 2:13:56 PMJun 12
to firebird...@googlegroups.com
Am 12.06.25 um 20:06 schrieb SP Ooi:
> Hi,
>
> Yes, "show views" showed the views correctly. (Firebird 5.0.1 database)

Only the names or also the ddl?

fsg
OpenPGP_0x358F2D05520C10AB.asc
OpenPGP_signature.asc
Reply all
Reply to author
Forward
0 new messages