Search found 1912 matches
- 11.09.2013, 17:39
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] Same sql, different result for SQLite table
- Replies: 2
- Views: 1929
Re: Same sql, different result for SQLite table
Hello aducom, I might be wrong but in your second example I don't see where the parameter f is set. If you never set it to any value it might be null and any comparison with null will fail. As a conseqnece to this the Query ZQ might be empty and in that case the Field v will return null if you Call ...
- 04.09.2013, 10:43
- Forum: PostgreSQL
- Topic: All fields read only: TZQuery, TDataSet, TDBEdit
- Replies: 2
- Views: 3057
Re: All fields read only: TZQuery, TDataSet, TDBEdit
Hello tocibacsi, I had a similar problem when I tried to use PostgreSQL. ZEOS currently is case sensitive when it comes to table names for PostgreSQL. PostgreSQL usually stores all table names in lower case in its system tables. The only exception is when you quote the table name when creating the t...
- 03.09.2013, 08:48
- Forum: Firebird
- Topic: ExecSQL Access violation with multi-threaded process
- Replies: 10
- Views: 5666
Re: ExecSQL Access violation with multi-threaded process
Hello amarildolacerda,
which version of Zeos and Delphi do you use? Is it possible for you to provide a test case to reproduce the problem?
Best regards,
Jan
which version of Zeos and Delphi do you use? Is it possible for you to provide a test case to reproduce the problem?
Best regards,
Jan
- 02.09.2013, 07:53
- Forum: Firebird
- Topic: ExecSQL Access violation with multi-threaded process
- Replies: 10
- Views: 5666
Re: ExecSQL Access violation with multi-threaded process
Hello amarildolacerda, I seem to remember that Firebird needs a separate connection per thread. Also only one thread is allowed to connect / disconnect at the same time. Have a look at this thread: http://groups.yahoo.com/neo/groups/firebird-support/conversations/topics/122401 For Zeos I would say t...
- 28.08.2013, 07:42
- Forum: MySQL
- Topic: ZSQLProcessor error when creating Stored Procedure
- Replies: 4
- Views: 5039
Re: ZSQLProcessor error when creating Stored Procedure
Hello rvargas17,
did you also set the DelimiterType property of ZSQLProcessor1 to dtSetTerm? I do this with firebird and it works.
Best regards,
Jan
did you also set the DelimiterType property of ZSQLProcessor1 to dtSetTerm? I do this with firebird and it works.
Best regards,
Jan
- 23.08.2013, 08:04
- Forum: ZeosLib 7.0 Stable Forum
- Topic: SIGSEGV error using ZConnection
- Replies: 1
- Views: 2226
Re: SIGSEGV error using ZConnection
Hello Marco, are you sure, the exception doesn't happen when you start your program outside of the IDE? Possibly the exception isn't caught by the LCL anymore and you only get messages at the console window - if there is one? Do you see anything if you start your program from the command line? Best ...
- 21.08.2013, 08:08
- Forum: 6.6 - stable
- Topic: How to drop firebird database?
- Replies: 3
- Views: 4471
Re: How to drop firebird database?
Hello SS Prano, I am not sure, wether this scenario is supported by Zeos at all. But if the database is on the same computer as your program you could simply try to delete the file. But if you want to, you could take a look at the database creation code in Zeos 6 and do soemthing similar for droppin...
- 19.08.2013, 13:54
- Forum: 6.6 - stable
- Topic: SQLite and/or Zeos causing crash with win8
- Replies: 2
- Views: 1651
- 01.08.2013, 16:52
- Forum: MySQL
- Topic: Syntax error - Multiple commands
- Replies: 2
- Views: 1649
- 13.07.2013, 18:38
- Forum: 6.6 - stable
- Topic: SQLite foreign_keys issue
- Replies: 14
- Views: 5533
- 13.07.2013, 17:58
- Forum: 6.6 - stable
- Topic: TZConnection is always in transaction state
- Replies: 15
- Views: 12180
Re: It is not a matter of knowing how
Hello jjeffman, If I have a several DML commands which has to be commited or rolled back together, I must to call StartTransaction before the first one and call Commit after having executed the last one and call Rollback inside the catch exception block. This is exactly what you should do when you h...
- 13.07.2013, 11:26
- Forum: 6.6 - stable
- Topic: TZConnection is always in transaction state
- Replies: 15
- Views: 12180
Hello jjeffman, could you maybe provide some example code and mark the places where you want transactions to start and to end? Maybe then I can provide this code in two fashions - one for AutoCommit = true and one for AutoCommit = false? The example code should have more than one transaction and at ...
- 13.07.2013, 11:22
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Very Slow Connection with Firebird
- Replies: 5
- Views: 3446
Hello eelias, you could do this by simply installing Firebird 2.1 on the client machine, for example. Or you could use the embedded Firebird server, which is also a client library. Simply download the zip file, extract the contents to your aplication directory and rename fbembed.dll to fbclient.dll ...
- 13.07.2013, 11:06
- Forum: 6.6 - stable
- Topic: SQLite foreign_keys issue
- Replies: 14
- Views: 5533
Hello EgonHugeist, the patch cannot be directly applied to 7.1. But I will supply a similar patch for 7.1 in the upcoming week :-) I have an Idea on how to support this kind of parameters in a more generic way but it will take some more time to work this out in a way that I can present here ;o) Best...
- 13.07.2013, 10:54
- Forum: 6.6 - stable
- Topic: How to empty a Table?
- Replies: 1
- Views: 1483
Hello IbeDBob,
what kind of database do you use? Could you post some sourcecode on how you try to do it? Normally something like this should work:
Best regards,
Jan
what kind of database do you use? Could you post some sourcecode on how you try to do it? Normally something like this should work:
Code: Select all
ZConnection.Close;
ZConnection.SQL.Text := 'DELETE FROM tblFiles';
ZConnection.ExecSQL;
Jan