[firebird-support] Do not recognize record type 28

2014-06-30 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, I am trying to restore a backup using Firebird 2.5, and am getting the following error: --- Omni Control Centre --- Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements. Do not

[firebird-support] Anyone know what has happened to FIBPlus

2014-07-14 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, Does anyone have any idea what has happened to FIBPlus from DevRace for Delphi? They haven't brought out any updates for a year now, not since Delphi XE4. They aren't responding to support tickets, or emails either. Thanks Maya

[firebird-support] RE: Case insensitive search on a memo field

2014-09-05 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Thank you for all the suggestions hopefully, we're not talking about more than a few million rows in this table?... I'd say definitely not more than a million, probably around 15000 for the products tables, 5000 for the customer tables, and 100 000 for the jobs and orders tables. But, each

[firebird-support] MON$STATEMENTS question

2014-09-19 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, I'm not sure if this is a problem or not, but I have quite a few entries like this with NULL transaction ID's in the MON$STATEMENTS table: MON$STATEMENT_ID 460577 MON$ATTACHMENT_ID 128 MON$TRANSACTION_ID NULL MON$STATE 0 MON$TIMESTAMP NULL MON$SQL_TEXT Select abc from xyz where this =

RE: [firebird-support] Re: MON$STATEMENTS question

2014-09-22 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
I'm not sure if this is a problem or not, but I have quite a few entries like this with NULL transaction ID's in the MON$STATEMENTS table: Is this a sign that my code isn't cleaning something up properly, or is it perfectly normal? Any idea under what circumstances this will happen? i.e.

RE: [firebird-support] Re: MON$STATEMENTS question

2014-09-22 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Is that not going to be affecting performance in a bad way? Nope. Thanks Dmitry! ++ Visit http://www.firebirdsql.org and click the Documentation

[firebird-support] Possible to use FIRST 1 inside a group by?

2015-07-29 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, I've got quite a tricky SQL query (well, at least for me it is, I'm hoping someone may have done this before) Here's a simplified example of what I'm trying to do: I have a table with IDGroupID FKCode Value 1 1

[firebird-support] RE: Possible to use FIRST 1 inside a group by?

2015-07-29 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
I've got quite a tricky SQL query (well, at least for me it is, I'm hoping someone may have done this before) Here's a simplified example of what I'm trying to do: I have a table with IDGroupID FKCode Value 1 1

RE: [firebird-support] Re: How to do a running total in SQL

2015-10-23 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Norbert wrote: >execute block >returns (reference varchar(10), due double precision, balance double >precision) >as >begin >balance = 0; >for select >reference,due >from invoices into :reference, :due >do begin >balance = balance+due; >suspend; >end >end Thank you Norbert, that does look like

RE: [firebird-support] How to do a running total in SQL

2015-10-23 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>>In Firebird 3 it will be possible with window functions. In Firebird 2.5 I >>don't know a way in pure SQL. >>Mark Great, thanks Mark. Cool, so I’ll be doing something like this, when Firebird 3 is available: select emp_no, salary, sum(salary) over (order by salary) cum_salary, sum(salary)

[firebird-support] How to do a running total in SQL

2015-10-23 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, I'd like to add a running total to my result set. For example: Table: Invoices Reference Due Invoice1 50.00 Invoice2 30.00 Invoice3 20.00 I'm guessing SQL would be something like: Select Reference, Due, Sum_Total(Due) as Balance >From

RE: [firebird-support] Speed of comparing one field to another

2016-10-05 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>Loius Wrote: >You could create a denormalized field that contains the difference of those >values (updated by a trigger, perhaps), and you can put >an index on that new field. Then change the query to find rows where [new >difference field] < 0. >Make sense? Thank you, looks like I will

RE: [firebird-support] Steps to Set Wait/No Wait Transaction

2017-01-12 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi Vishal, >I need to understand how to set Wait/No Wait Transaction in firebird. I think you mean in Delphi? Might be better to ask on the Firebird tools group, but I have replied below >Also I have one doubt that I when we start transaction through code as shown >below, the transaction locks

RE: [firebird-support] Inserting/Updating new records with data from previous records

2017-03-26 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>Alan Wrote: >Partno, del_qty no_boxes, (pallet_qty, qty_per_box - do not vary for each part) >ABC 200 10300 20 >ABC 200 10300 20 >ABC 100 5 300 20 >So far so good, but some of their customers require a second barcode label

RE: [firebird-support] Firebird 2.5 rejecting connections

2017-08-07 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>>Can you connect locally by using TCP/IP(i.e.: using localhost or the >>server's own IP)? Just my 2c. We have also experienced this on a few PC's. A connection string of: localhost:c:\MyFolder\MyData.fdb gives the connection rejected error. Changing to: c:\MyFolder\MyData.fdb resolves

RE: [firebird-support] Installing Firebird during the installation of my product

2017-05-22 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>I have a small application written in Delphi that uses Firebird, It is >intended to be used on a single computer currently. Possibly moving the >database to a server later which would mean installing firebird on the server >and then a separate install of Firebird on the client. >But for now

RE: [firebird-support] FreeAdhocUDF and Firebird 3 not working

2017-09-06 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
>I have been using Firebird 2.5.7 64 bit on Windows 7 for sometime, also using >FreeAdhocUDF. I just installed Firebird 3.0.2.32703 64 bit and now >FreeAdhocUDF is no longer loading. >I see that there is a support ticket in place for this exact bug, but so far >no resolution. This is a major

[firebird-support] Firebird 3, nulls and integer division

2019-04-17 Thread Maya Opperman m...@omniaccounts.co.za [firebird-support]
Hi, I am (EVENTUALLY), getting around to upgrading from Firebird 2.5 to Firebird 3. I purchased the conversion guide, and so far so good, except for this problem, which I cannot find a mention of anywhere, no online, nor in conversion the guide: SELECT C.ENDDATE FROM CMN_PERIODS C WHERE