Hi all !
Is there any way to process DROP DATABASE command (in ZEOS 7.3) ?
I found some old tricks for CREATE DATABASE, but as I see source code for CreateNewDatabase trick - only isc_create_database call is expected
DROP DATABASE implementation
Moderators: gto, cipto_kh, EgonHugeist
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: DROP DATABASE implementation
Hello eversun,
I am not sure if this works though and what happens to the connection afterwards.
Best regards,
Jan
So - if you have to connect to the database you could do something like this:Firebird 4.0 Language Reference wrote:The DROP DATABASE statement deletes the current database. Before deleting a database, you have to
connect to it.
Code: Select all
ZConnection.Connect;
ZConnection.ExecuteDirect('DROP DATABASE');
ZConnection.Disconnect;
Best regards,
Jan