[firebird-support] Re: Firebird Classic installation on Fedora 21 64-bit - problem

2015-01-26 Thread map...@gmail.com [firebird-support]
* According to Fedora packaging rules, firebird service is not started automatically. You need to start it, as root : systemctl start firebird-superclassic.service for Classic : systemctl start firebird-classic.socket If you want to have firebird started at each boot, as root : systemctl enable

Re: [firebird-support] Function - what is it called

2015-01-26 Thread Helen Borrie hele...@iinet.net.au [firebird-support]
At 11:25 p.m. 23/01/2015, michael.vilhelm...@microcom.dk [firebird-support] wrote: I am looking for a function which are able to add values from a table as records are fetched. Something like this: ValueCalculated value 11 23 36 410 515 The calculated value is just the sum of all

RE: [firebird-support] How to change Primary Key on a table by adding a new field

2015-01-26 Thread 'Bogdan Mihalache' bogdan.mihala...@soter.ro [firebird-support]
Select trim(RC.RDB$INDEX_NAME) from RDB$RELATION_CONSTRAINTS RC where (RC.RDB$CONSTRAINT_TYPE = 'PRIMARY KEY') and (RC.RDB$RELATION_NAME = :TABELA) into :PKTEMP Using that select you can fiind the name of the column who has the primary key. Inspired from Carlos Cantu external log

[firebird-support] How to change Primary Key on a table by adding a new field

2015-01-26 Thread Luigi Siciliano luigi...@tiscalinet.it [firebird-support]
Hello, I have an application that use a Firebird database and I need to change a Primary Key on a table by adding a new field. I can drop a primary key constraint by ALTER TABLE MyTable DROP CONSTRAINT MyINTEG_000 where MyINTEG_000 is the constraint on my development database file. I

RE: [firebird-support] How to change Primary Key on a table by adding a new field

2015-01-26 Thread 'Bogdan Mihalache' bogdan.mihala...@soter.ro [firebird-support]
Select trim(I.RDB$FIELD_NAME) from RDB$RELATION_CONSTRAINTS RC join RDB$INDEX_SEGMENTS I on (I.RDB$INDEX_NAME = RC.RDB$INDEX_NAME) join RDB$INDICES IDX on (IDX.RDB$INDEX_NAME = RC.RDB$INDEX_NAME) where (RC.RDB$CONSTRAINT_TYPE = 'PRIMARY KEY') and

Re: [firebird-support] How to change Primary Key on a table by adding a new field

2015-01-26 Thread Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
On Mon, 26 Jan 2015 19:05:33 +0100, Luigi Siciliano luigi...@tiscalinet.it [firebird-support] firebird-support@yahoogroups.com wrote: Hello, I have an application that use a Firebird database and I need to change a Primary Key on a table by adding a new field. I can drop a primary key

[firebird-support] Re: Common Table Expressions ( “WITH ... AS ... SELECT”)

2015-01-26 Thread masb...@za-management.com [firebird-support]
Hi Dimitry, thank you for your response. I think in my case I can replace the outer join with an inner join, because it is the same sp with the same query parameters I am calling twice. Are there any future plans to change this re-evaluation structure in outter joins? Kind regards Christian

Re: [firebird-support] Re: Common Table Expressions ( “WITH ... AS ... SELECT”)

2015-01-26 Thread Tim Ward t...@telensa.com [firebird-support]
On 26/01/2015 09:53, masb...@za-management.com [firebird-support] wrote: Hi Dimitry, thank you for your response. I think in my case I can replace the outer join with an inner join, because it is the same sp with the same query parameters I am calling twice. Are there any future plans to