ODP: [firebird-support] Re: is it possible to drop all indexes, except those related to PKand FK?

2020-03-13 Thread Karol Bieniaszewski liviusliv...@poczta.onet.pl [firebird-support]
Hi If you join with contraints you have better control. An personally i prefere easier way, like simple select. If you really need to delete all instead of PK and FK you should not exclude uniques as you ommit custom unique indexes. SELECT 'DROP INDEX ' || TRIM(I.RDB$INDEX_NAME) || ';',

[firebird-support] Ubuntu 3.0.5 version

2020-03-13 Thread Jorge Andres Brugger jorge.brug...@gmail.com [firebird-support]
Mariuz's Ubuntu repository contains version 3.0.5.33100 and was released in October 2019. The official version on the Firebird website is 3.0.5.33220, released in January 2020. This is ok in terms of stability, if I want to use the Ubuntu package? Thanks

[firebird-support] Re: is it possible to drop all indexes, except those related to PK and FK?

2020-03-13 Thread hamacker sirhamac...@gmail.com [firebird-support]
response to my self, is it correct? execute block returns (drop_index_name varchar(31), dropped boolean) as declare variable doit boolean; declare variable stmt varchar(2048); begin dropped=false; -- test before for select i.rdb$index_name from rdb$indices i where