Re: [firebird-support] Is this a bug of Firebird?

2017-02-09 Thread Tim Ward t...@telensa.com [firebird-support]
] Project1.dpr(14): H2077 Value assigned to 'x' never used (Line 14 is the one assigning zero.) On Thu, 09 Feb 2017 04:30:06 -0500 *Tim Ward t...@telensa.com [firebird-support] <firebird-support@yahoogroups.com>* wrote It' the equivalent in a conventional programming la

Re: [firebird-support] Is this a bug of Firebird?

2017-02-09 Thread Tim Ward t...@telensa.com [firebird-support]
te the *intent* of logic. That is completely outside the purview of any application environment that I know. The only thing that a system can check/enforce is the correctness of the code, not to check whether the developer has 2 brain cells. Sean -- Tim Ward

[firebird-support] UDF parameter size mismatch

2017-02-08 Thread Tim Ward t...@telensa.com [firebird-support]
some number which you can't tell by looking at it whether it's right or not. -- Tim Ward

Re: [firebird-support] firebird schema changes during backup

2017-01-24 Thread Tim Ward t...@telensa.com [firebird-support]
fun when one of your production databases has patterns of data that weren't included in your test data sets. -- Tim Ward

Re: [firebird-support] Re: Time zones

2017-01-13 Thread Tim Ward t...@telensa.com [firebird-support]
On 13/01/2017 14:04, Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] wrote: > 13.01.2017 13:09, Tim Ward t...@telensa.com [firebird-support] wrote: >> I just don't believe this. Can anyone make any other suggestion as to >> what is going on? > Is timezone on your

[firebird-support] Re: Time zones

2017-01-13 Thread Tim Ward t...@telensa.com [firebird-support]
ometimes the UK time. I just don't believe this. Can anyone make any other suggestion as to what is going on? On 13/01/2017 11:21, Tim Ward wrote: > On 12/01/2017 14:09, Tim Ward wrote: >> Sorry if this is a really basic question, but some time spent >> searching has failed to

[firebird-support] Re: Time zones

2017-01-13 Thread Tim Ward t...@telensa.com [firebird-support]
On 12/01/2017 14:09, Tim Ward wrote: > Sorry if this is a really basic question, but some time spent > searching has failed to find for me the definitive detailed > documentation on exactly how Firebird handles time zones (I'm > particularly interested, to start with, in using CURRE

[firebird-support] Time zones

2017-01-12 Thread Tim Ward t...@telensa.com [firebird-support]
, and later reading it out and using it to display in a UI, but that's only to start with). Can someone point me in the right direction please? -- Tim Ward

Re: [firebird-support] slow connection time to the db

2017-01-06 Thread Tim Ward t...@telensa.com [firebird-support]
05.01.2017 14:40, Marianne Castel - Titelive caste...@titelive.be [firebird-support] wrote: > Has somebody an idea, where is the sytem loosing time ? Most often (x)inetd waste time trying to identify client by ident protocol or reverse DNS to get host name. -- WBR, SD. -- Tim Ward

Re: [firebird-support] Safe Thread - ODBC

2016-11-22 Thread Tim Ward t...@telensa.com [firebird-support]
cond delay before data got flushed to disk, as an optimisation in case you were just about to write something else. (Which could, once you'd discovered what was going on, which might take a few days or weeks, be turned off.) I don't however expect to see exactly the same problem with Firebird 3 .

Re: [firebird-support] php transactions

2016-07-13 Thread Tim Ward t...@telensa.com [firebird-support]
a commit it'll quite likely all be in one transaction which can produce the symptoms you describe. -- Tim Ward

Re: [firebird-support] Failure to create primary key - 2.5, 64 bit, Linux

2016-07-12 Thread Tim Ward t...@telensa.com [firebird-support]
... but having restored the database from backup the problem appears to have gone away. On 12/07/2016 12:52, Tim Ward wrote: There was plenty of space on the disk partition containing the database. But there had at some point been a disk full on some other partition. So, having run out

Re: [firebird-support] Failure to create primary key - 2.5, 64 bit, Linux

2016-07-12 Thread Tim Ward t...@telensa.com [firebird-support]
partition filled up. On 12/07/2016 12:50, liviuslivius liviusliv...@poczta.onet.pl [firebird-support] wrote: W dniu 2016-07-12 11:54:52 użytkownik Tim Ward t...@telensa.com [firebird-support] <firebird-support@yahoogroups.com> n

[firebird-support] Failure to create primary key - 2.5, 64 bit, Linux

2016-07-12 Thread Tim Ward t...@telensa.com [firebird-support]
when run against a 64 bit 2.5 database. What's going on please? -- Tim Ward

Re: [firebird-support] Users for application

2016-06-23 Thread Tim Ward t...@telensa.com [firebird-support]
circumstances - that's not terribly helpful if all the process names are "python" and all the IP addresses are "127.0.0.1", for example. -- Tim Ward

Re: [firebird-support] Users for application

2016-06-23 Thread Tim Ward t...@telensa.com [firebird-support]
rent users. This means that poking around in the database to see what's going on (performance, long-lived transactions, etc) is a bit easier - we can instantly see which process is doing what, as the users are named after the processes. -- Tim Ward

[firebird-support] When do triggers take effect?

2016-06-06 Thread Tim Ward t...@telensa.com [firebird-support]
on existing connections, or something? -- Tim Ward

Re: [firebird-support] Connecting to Firebird database from two or more pc with same username

2016-04-14 Thread Tim Ward t...@telensa.com [firebird-support]
, so if we poke around in the database we can see at least which part of the system any problematic (eg very long running) user sessions or transactions or queries belong to. -- Tim Ward

Re: [firebird-support] Update big table and nbackup benefit or not?

2016-04-05 Thread Tim Ward t...@telensa.com [firebird-support]
and restore process) B. table will be 100GB and in db will be 100GB free pages? (db size will be 300GB and i need to bakup and restore?) what is the answer for this A or B? regards, Karol Bieniaszewski -- Tim Ward

[firebird-support] COALESCE

2016-03-19 Thread Tim Ward t...@telensa.com [firebird-support]
e possibility of machine-generated code they might have reached a different decision about the second parameter, or even the first, being mandatory?) I'm just pointing out the typo in the book - there's no closing square bracket in that definition.

[firebird-support] violation of PRIMARY or UNIQUE KEY constraint

2016-03-15 Thread Tim Ward t...@telensa.com [firebird-support]
st checked that it doesn't exist, which it doesn't as far as transaction B is concerned, because transaction A hasn't committed yet) results in the error. Have I remembered this behaviour of primary keys correctly? Please could someone remind me where the documentation is if so? -- Tim Ward

Re: [firebird-support] firebird and transaction behaviour questions

2016-02-23 Thread Tim Ward t...@telensa.com [firebird-support]
- there's no overhead because there's no concept of doing anything without a transaction. -- Tim Ward

Re: [firebird-support] cannot transliterate Firebird 1.5

2016-01-27 Thread Tim Ward t...@telensa.com [firebird-support]
an characters, like ş and ţ. As far as I can see, those characters do not exist in the Windows 1251 character set, so isn't the error message simply telling the truth? -- Tim Ward

[firebird-support] The PHP default transaction

2016-01-21 Thread Tim Ward t...@telensa.com [firebird-support]
*is* a potential performance problem, I imagine I can get rid of it simply by doing "ibase_commit();" at the start of the PHP script? -- Tim Ward

[firebird-support] Restore failed

2016-01-20 Thread Tim Ward t...@telensa.com [firebird-support]
gbak:adjusting an invalid decompression length from -33 to -19 gbak: ERROR:value exceeds the range for valid timestamps gbak: ERROR:gds_$send failed gbak:Exiting before completion due to errors Anyone any idea what any of that means? -- Tim Ward

[firebird-support] 32 bit vs 64 bit arthmetic

2016-01-18 Thread Tim Ward t...@telensa.com [firebird-support]
versions of the library called by the UDF.) -- Tim Ward

Re: [firebird-support] 32 bit vs 64 bit arthmetic

2016-01-18 Thread Tim Ward t...@telensa.com [firebird-support]
htly different output and will not be researching it any further. -- Tim Ward

[firebird-support] Forced writes on Linux?

2016-01-15 Thread Tim Ward t...@telensa.com [firebird-support]
tion event? Thanks -- Tim Ward

Re: [firebird-support] Small Database with very very bad performance on LAN

2016-01-08 Thread Tim Ward t...@telensa.com [firebird-support]
but with the 3 clients on LAN works > very bad. It is very very slow to open and navigate a simple table with > less of 5.000 rows! > > What i can do? What are your queries, query plans, quer

[firebird-support] Can "forced writes" change application behaviour?

2016-01-04 Thread Tim Ward t...@telensa.com [firebird-support]
e database, partly direct queries and partly stored procedure calls, as well as user interface accesses via PHP. (Oh, and possibly some Python processes and other stuff, but it's the interaction between a couple of the C/C++ processes that is currently confusing us.) -- Tim Ward

Re: [firebird-support] Is it save to append some data at end of the binary firebird database file?

2015-12-04 Thread Tim Ward t...@telensa.com [firebird-support]
d, as vast numbers of other tools understand it), you can add whatever custom resources you like. -- Tim Ward

Re: [firebird-support] Is it save to append some data at end of the binary firebird database file?

2015-12-03 Thread Tim Ward t...@telensa.com [firebird-support]
("resource") and you're /supposed/ to use it properly. Pity this doesn't apply portably to all file types, innit. -- Tim Ward

Re: [firebird-support] Deleting records and deadlocks

2015-12-02 Thread Tim Ward t...@telensa.com [firebird-support]
Thanks for the replies. Don't worry folks, I'm not going to try this, I was just curious. Yes I do know it's not a real deadlock, I was using the word because I knew it would be understood and because, I'm pretty sure?, I've seen it in one of the relevant error messages. -- Tim Ward

[firebird-support] Deleting records and deadlocks

2015-12-02 Thread Tim Ward t...@telensa.com [firebird-support]
no reason why this shouldn't work, as either way the record is going to end up deleted, which is what the user wants, but would I be right in guessing that Firebird isn't that clever, and that deadlocks are possible in this scenario? -- Tim Ward

[firebird-support] Error 335544721

2015-11-06 Thread Tim Ward t...@telensa.com [firebird-support]
with this error. Restart it, and it runs fine. Until the next time. -- Tim Ward

Re: [firebird-support] Why can't I have a SUSPEND or UPDATE in the same Stored Procedure?

2015-11-03 Thread Tim Ward t...@telensa.com [firebird-support]
on-text portions of this message have been removed] -- Tim Ward

[firebird-support] Holding a connection open forever

2015-10-19 Thread Tim Ward t...@telensa.com [firebird-support]
a similar question some time ago but didn't end up with any actual diagnosis of our problem.) -- Tim Ward ++ Visit http://www.firebirdsql.org and click

Re: [firebird-support] How can I see which query within a stored procedure execution takes the longest time?

2015-10-14 Thread Tim Ward t...@telensa.com [firebird-support]
, Thanks for the reply. You mentioned that you did it with a logging procedure. Can you share what you exactly what you did to accomplish this? Mike -- Tim Ward

Re: [firebird-support] How can I see which query within a stored procedure execution takes the longest time?

2015-10-13 Thread Tim Ward t...@telensa.com [firebird-support]
[firebird-support] wrote: Greetings All, Firebird 2.5.4 I would like to know if there is any way that I can retrieve the execution time of each SQL SELECT or EXECUTE PROCEDURE within a stored procedure? Any tool to accomplish this? Thanks, Mike -- Tim Ward

Re: [firebird-support] Find grid page containing record

2015-10-07 Thread Tim Ward t...@telensa.com [firebird-support]
f the user, remember) are ASC and some DESC? I think we'll have to continue to think about it! On 06/10/2015 21:50, setysvar setys...@gmail.com [firebird-support] wrote: Den 06.10.2015 17:38, skrev Tim Ward t...@telensa.com [firebird-support]: > Given that a query needed to return data for a p

Re: [firebird-support] Find grid page containing record

2015-10-07 Thread Tim Ward t...@telensa.com [firebird-support]
of the user, remember) are ASC and some DESC? I think we'll have to continue to think about it! On 06/10/2015 21:50, setysvar setys...@gmail.com <mailto:setys...@gmail.com> [firebird-support] wrote: Den 06.10.2015 17:38, skrev Tim Ward t...@telensa.com <mailto:t...@telensa.com> [fire

[firebird-support] Find grid page containing record

2015-10-06 Thread Tim Ward t...@telensa.com [firebird-support]
have to do in the UI). In, that is, a sane amount of time - fetching hundreds of pages of data to the grid sequentially until the right record appears is not a reasonable solution! ID may or may not be the primary key, but we can use an indexed unique field if that helps. -- Tim Ward

Re: [firebird-support] What is better: UPDATE or DELETE + INSERT?

2015-09-16 Thread Tim Ward t...@telensa.com [firebird-support]
(millions of times slower if you're really lucky). If that's your situation you may be better off deleting and recreating. -- Tim Ward

[firebird-support] Another ordering question?

2015-09-09 Thread Tim Ward t...@telensa.com [firebird-support]
possibilities? I must say that Oldest transaction390433636 Oldest active390433637 Oldest snapshot390433637 Next transaction391092651 doesn't look too encouraging, so I'd better investigate that. -- Tim Ward

Re: [firebird-support] Another ordering question?

2015-09-09 Thread Tim Ward t...@telensa.com [firebird-support]
) and sort the results Nick Upson, Telensa Ltd, Senior Operations Network Engineer direct +44 (0) 1799 533252, support hotline +44 (0) 1799 399200 On 9 September 2015 at 13:00, Tim Ward t...@telensa.com <mailto:t...@telensa.com> [firebird-support] <firebird-support@yahoogroups.com <m

[firebird-support] MAX() and index

2015-09-07 Thread Tim Ward t...@telensa.com [firebird-support]
of approach, that's needed for other reasons anyway, which eliminates the problem query.) -- Tim Ward

Re: Odp: [firebird-support] Firebird 2.52 gbak fails to do a restore - error trigger (3)

2015-06-11 Thread Tim Ward t...@telensa.com [firebird-support]
* system using *any* tools is pointless if you don't do regular test restores. -- Tim Ward

Re: [firebird-support] Why index is not used in this query?

2015-05-15 Thread Tim Ward t...@telensa.com [firebird-support]
getting such plan: PLAN JOIN (T1 NATURAL, T2 INDEX (FK_TABLE_2)) Why in case of TABLE_1 optimizer did not chose index PK_TABLE_1? And why I am getting error when i try to enforce it with: PLAN JOIN (T1 INDEX (PK_TABLE_1), T2 INDEX (FK_TABLE_2)) Thanks for any clues. -- Tim Ward

Re: [firebird-support] How To Change Column DataType From Varchar To Integer ?

2015-04-22 Thread Tim Ward t...@telensa.com [firebird-support]
, foreign keys, procedures, ...). -- Tim Ward

Re: [firebird-support] Re: Plan question, what is a stream and what isn't?

2015-04-16 Thread Tim Ward t...@telensa.com [firebird-support]
which keeps a connection open permanently and repeatedly re-runs the same procedures in different transactions? Does it need to drop and recreate the connection in order to take account of any SET STATISTICS done by other people, or not? -- Tim Ward

[firebird-support] Re: When does SET STATISTICS take effect?

2015-04-15 Thread Tim Ward t...@telensa.com [firebird-support]
On 14/04/2015 11:39, Tim Ward wrote: If SET STATISTICS is done on one connection, when does it take effect? What about a transaction that was already running at the time someone else did SET STATISTICS, does that use the new statistics for any new statements it runs (where all the code

[firebird-support] When does SET STATISTICS take effect?

2015-04-14 Thread Tim Ward t...@telensa.com [firebird-support]
a connection that was already in existence at the time someone else did SET STATISTICS, does that use the new statistics for any new transactions it runs (where all the code running is in stored procedures)? -- Tim Ward

Re: [firebird-support] Profiler for 2.1?

2015-04-13 Thread Tim Ward t...@telensa.com [firebird-support]
like the ones you get from profilers for conventional languages. -- Tim Ward -- Tim Ward

Re: [firebird-support] Re: V1.56 query killing my V2.54 app

2015-04-09 Thread Tim Ward t...@telensa.com [firebird-support]
out by constant folding, so it's not something I'd have thought of trying for myself! -- Tim Ward

Re: [firebird-support] Character sets. (Again.)

2015-04-01 Thread Tim Ward t...@telensa.com [firebird-support]
On 31/03/2015 20:00, Ann Harrison aharri...@ibphoenix.com [firebird-support] wrote: On Mar 30, 2015, at 7:01 AM, Tim Ward t...@telensa.com [firebird-support] firebird-support@yahoogroups.com wrote: Sorry about this, but I really can't work out what's going on here, and could do with some

Re: [firebird-support] Character sets. (Again.)

2015-04-01 Thread Tim Ward t...@telensa.com [firebird-support]
this, so they will act as if it is string of 32 characters. Mark So my temporary fudge to trim() the result is actually the best that can be done, and it's a good thing I'm not expecting the presence or absence of trailing spaces in VARCHAR fields to be significant, it looks like. -- Tim Ward

[firebird-support] Character sets. (Again.)

2015-03-30 Thread Tim Ward t...@telensa.com [firebird-support]
will transliterate as necessary, but padding an eight character string with 24 spaces to make a 32 character string isn't any sort of transliteration I'm familiar with. -- Tim Ward

Re: [firebird-support] Cast as Numeric without parenthesis

2015-03-26 Thread Tim Ward t...@telensa.com [firebird-support]
representation, as the last stage of a potentially long and complex sequence of operations. I've never seen anyone go to remotely as much trouble to get this stuff right since then. I can't, however, see such an approach having a problem with the example above. -- Tim Ward

Re: [firebird-support] Re: How do I get my database back?

2015-03-25 Thread Tim Ward t...@telensa.com [firebird-support]
On 24/03/2015 18:27, Dmitry Yemanov dim...@users.sourceforge.net [firebird-support] wrote: 24.03.2015 18:42, Tim Ward wrote: [#] Yes, well, there's then the question about how come you're allowed to get a database into such an illegal state in the first place, isn't there. I'd say

[firebird-support] How do I get my database back?

2015-03-24 Thread Tim Ward t...@telensa.com [firebird-support]
in general. [#] Yes, well, there's then the question about how come you're allowed to get a database into such an illegal state in the first place, isn't there. -- Tim Ward

Re: [firebird-support] Re: ON EXTERNAL DATA SOURCE

2015-03-02 Thread Tim Ward t...@telensa.com [firebird-support]
that all the time, there's no performance issue in practice, setting up the connection is a fraction of the cost of running a statement that actually does anything. -- Tim Ward

Re: [firebird-support] Re: ON EXTERNAL DATA SOURCE

2015-03-02 Thread Tim Ward t...@telensa.com [firebird-support]
first http://www.firebirdsql.org/file/documentation/reference_manuals/reference_material/html/langrefupd25-psql-execstat.html Regards, Vlad -- Tim Ward

[firebird-support] ON EXTERNAL DATA SOURCE

2015-02-27 Thread Tim Ward t...@telensa.com [firebird-support]
be *that* cheap?) -- Tim Ward

Re: [firebird-support] Know nothing - please help

2015-02-18 Thread Tim Ward t...@telensa.com [firebird-support]
, but there is of course no such thing as a theoretically perfect query optimiser.) -- Tim Ward

[firebird-support] Yet another which architecture question

2015-02-17 Thread Tim Ward t...@telensa.com [firebird-support]
the whole business? -- Tim Ward

[firebird-support] Dynamic SQL Error SQL error code = -104 CTE CTE_CP is not used in query

2015-02-17 Thread Tim Ward t...@telensa.com [firebird-support]
actually used anywhere. I've now got to fix that code to be extremely careful about *ex*cluding unneeded CTEs - it's currently aimed at being extremely careful to *in*clude CTEs that *are* needed.) -- Tim Ward

Re: [firebird-support] Dynamic SQL Error SQL error code = -104 CTE CTE_CP is not used in query

2015-02-17 Thread Tim Ward t...@telensa.com [firebird-support]
On 17/02/2015 09:44, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] wrote: On Tue, 17 Feb 2015 09:41:56 +, Tim Ward t...@telensa.com [firebird-support] firebird-support@yahoogroups.com wrote: Why?? Why does that have to be a failure?? Why can't Firebird just ignore

Re: [firebird-support] Problem with sub-optimal query plan

2015-02-03 Thread Tim Ward t...@telensa.com [firebird-support]
does not use the descending index on INVOICES to speed up things. Is there a way to force the optimizer to use the descending index instead of sorting all the resulting rows? I am using Firebird 2.1 on Windows. Thanks in advance. Fulvio Senore -- Tim Ward

Re: [firebird-support] nesting - weight calculation

2015-01-30 Thread Tim Ward t...@telensa.com [firebird-support]
.) -- Tim Ward

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

2015-01-26 Thread Tim Ward t...@telensa.com [firebird-support]
of the query should not affect the output of the optimiser), but this doesn't (always?) seem to be what's happening. -- Tim Ward

Re: [firebird-support] I don´t receive my messages

2015-01-21 Thread Tim Ward t...@telensa.com [firebird-support]
behave like this one. -- Tim Ward

Re: [firebird-support] Re: Firebird Android

2015-01-19 Thread Tim Ward t...@telensa.com [firebird-support]
data to PHP scripts, it's not assuming an internet connection more than once a day. -- Tim Ward

Re: [firebird-support] Firebird Android

2015-01-16 Thread Tim Ward t...@telensa.com [firebird-support]
responses. We're doing this by having the Android app access a URL on our server and send or receive an XML file which are processed into and out of the database by server side code. -- Tim Ward

Re: [firebird-support] Three trailing spaces?

2014-12-15 Thread Tim Ward t...@telensa.com [firebird-support]
On 13/12/2014 09:14, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] wrote: On 12-12-2014 15:38, Tim Ward t...@telensa.com [firebird-support] wrote: On 12/12/2014 14:15, Mark Rotteveel m...@lawinegevaar.nl [firebird-support] wrote: What is the default character set of your database

[firebird-support] Three trailing spaces?

2014-12-12 Thread Tim Ward t...@telensa.com [firebird-support]
. But when I do a SELECT * FROM ... (from PHP using ibase_fetch_assoc) I don't get the string 'A' I get the string 'A ' (three spaces after the A). Yes this may be a PHP question, but just in case it isn't, any ideas? -- Tim Ward

Re: [firebird-support] Three trailing spaces?

2014-12-12 Thread Tim Ward t...@telensa.com [firebird-support]
. Connection charset appears also to be UTF8. -- Tim Ward

[firebird-support] Unit testing for stored procedures?

2014-12-05 Thread Tim Ward t...@telensa.com [firebird-support]
exist? -- Tim Ward

Re: [firebird-support] Why this similar to is wrong?

2014-11-25 Thread Tim Ward t...@telensa.com [firebird-support]
of languages all with slightly different rules for regular expressions, it's not a surprise if any non-trivial regular expression needs changing between languages, you just have to read the rules for the new language. -- Tim Ward

Re: [firebird-support] How do I count the number of duplicate rows in a table?

2014-10-28 Thread Tim Ward t...@telensa.com [firebird-support]
from viruses and malware because avast! Antivirus http://www.avast.com/ protection is active. -- Tim Ward

Re: [firebird-support] Advice with the following sql command

2014-09-25 Thread Tim Ward t...@telensa.com [firebird-support]
(not contained in either an aggregate function or the GROUP BY clause) Any advice is welcomed as this has me stumped as well as my SQL expert mate Thanks Andy -- Tim Ward

[firebird-support] Coalesce can't be optimised?

2014-09-03 Thread Tim Ward t...@telensa.com [firebird-support]
set.) So, my questions: (1) Have I got this right? Is the second query a correct expansion of COALESCE that produces the same results as the first query? (2) If so, is it indeed the case that the optimiser doesn't understand how to expand COALESCE? -- Tim Ward

Re: [firebird-support] Export data to CSV file from stored procedure?

2014-08-20 Thread Tim Ward t...@telensa.com [firebird-support]
for a pure firebird sql solution. We are using Firebrd 2.5. Any pointers on how to do this will be much appreciated. Regards, -Ed -- Tim Ward

Re: [firebird-support] Very long transaction start after deleting a big number of records.

2014-07-25 Thread Tim Ward t...@telensa.com [firebird-support]
of the cleanup job, thus putting the cost back with its owner. In other words you can't delay the garbage collection, but you can make it happen earlier so that it's predictable. -- Tim Ward

Re: [firebird-support] Firebird 2.5 connection issue

2014-07-18 Thread Tim Ward t...@telensa.com [firebird-support]
get the file not found message when actually what it should say is access denied. -- Tim Ward

Re: [firebird-support] Invalid argument in EXECUTE STATEMENT - cannot convert to string

2014-06-26 Thread Tim Ward t...@telensa.com [firebird-support]
Beckmann thomas.beckm...@assfinet.de [firebird-support] wrote: userClause is probably null. Then the entire string will be null. Am 25.06.2014 16:08, schrieb Tim Ward t...@telensa.com [firebird-support]: Anyone know what this error message actually means? Yes I am trying to run

[firebird-support] Invalid argument in EXECUTE STATEMENT - cannot convert to string

2014-06-25 Thread Tim Ward t...@telensa.com [firebird-support]
looking like one!! - is that elementId is null (neither of the other variables can ever be null). Does that make sense? -- Tim Ward

Re: [firebird-support] Re: INSERT INTO ... RETURNING with EXECUTE STATEMENT

2014-06-24 Thread Tim Ward t...@telensa.com [firebird-support]
On 23/06/2014 13:12, Dmitry Yemanov dim...@users.sourceforge.net [firebird-support] wrote: 23.06.2014 14:48, Tim Ward t...@telensa.com [firebird-support] wrote: I've got an INSERT statement like: INSERT INTO table( list of columns ) SELECT list of columns FROM table whose name

[firebird-support] INSERT INTO ... RETURNING with EXECUTE STATEMENT

2014-06-23 Thread Tim Ward t...@telensa.com [firebird-support]
this using EXECUTE STATEMENT. But what, please, is the correct syntax for using EXECUTE STATEMENT for an INSERT INTO ... SELECT ... RETURNING? - this isn't an example usage which I've been able to find in any of the documentation. Thanks. -- Tim Ward

Re: [firebird-support] Re: INSERT INTO ... RETURNING with EXECUTE STATEMENT

2014-06-23 Thread Tim Ward t...@telensa.com [firebird-support]
Thanks - the procedure does actually compile if I do that, which is a good indication! (I can't actually try running it just yet.) On 23/06/2014 13:12, Dmitry Yemanov dim...@users.sourceforge.net [firebird-support] wrote: 23.06.2014 14:48, Tim Ward t...@telensa.com [firebird-support] wrote

Re: [firebird-support] filter conditions: WHERE vs. JOIN clause

2014-05-27 Thread Tim Ward t...@telensa.com [firebird-support]
On 27/05/2014 16:17, jakef...@yahoo.com [firebird-support] wrote: In general, does it make a difference whether the filter conditions are in the JOIN or WHERE clause? In particular, if there are outer joins you can get different results. -- Tim Ward

Re: [firebird-support] non us characters in comments fail

2014-04-25 Thread Tim Ward
of it for me was to replace the em-rule with a minus. -- Tim Ward

Re: [firebird-support] non us characters in comments fail

2014-04-25 Thread Tim Ward
is still asked with unchanged wording but can see no reason why it shouldn't be! - today's essay might be about something like how to represent Chinese in the from line of an email. -- Tim Ward

Re: [firebird-support] non us characters in comments fail

2014-04-25 Thread Tim Ward
, Martijn Tonies Upscene Productions http://www.upscene.com -- Tim Ward

Re: [firebird-support] non us characters in comments fail

2014-04-25 Thread Tim Ward
SQL Anywhere, MySQL, InterBase, NexusDB and Firebird! From: Tim Ward Sent: Friday, April 25, 2014 10:27 AM To: firebird-support@yahoogroups.com Subject: Re: [firebird-support] non us characters in comments fail I'm using v4.4.5.0. I can't check what others are using as they aren't in the office

Re: [firebird-support] Efficient subselects

2014-04-22 Thread Tim Ward
approach. I will consider it, maybe it would be sufficient for my needs. Yes, I'll note this idea, I've got a similar query I'll probably have to speed up one day! -- Tim Ward ++ Visit http

Re: [firebird-support] Reading unnecessary records

2014-04-07 Thread Tim Ward
need to be calculated. (To put it very very crudely.) -- Tim Ward

Re: [firebird-support] order by

2014-04-07 Thread Tim Ward
the reader doesn't gain anything. -- Tim Ward

Re: [firebird-support] order by

2014-04-07 Thread Tim Ward
and what is today column number 2 may become column number 14 two days later. This, in turn, leads to potential problems because you think it's ordering by something whereas instead it's ordering by something else. A On Mon, Apr 7, 2014 at 2:58 PM, Tim Ward t...@telensa.com mailto:t...@telensa.com

Re: [firebird-support] Reading unnecessary records

2014-04-04 Thread Tim Ward
that Firebird read 10 records for PersonTable and 10 for City table, but it reads 210. The real problem is that I have millions of records in the database, and a simple consult can take minutes when it could take few seconds with an optimized plan. What options do I have? Thank you -- Tim Ward

[firebird-support] EXECUTE STATEMENT with long string

2014-03-24 Thread Tim Ward
of doing it? (Eg rewriting the stored procedure in PHP.) -- Tim Ward

  1   2   >