Search found 14 matches

by hoedlmoser
24.11.2022, 10:57
Forum: ZeosLib 7.2 Forum
Topic: version 7.2.14 sqlite umlauts
Replies: 7
Views: 782

Re: version 7.2.14 sqlite umlauts

@jan
thanks for your suggestions. Lazarus 2.2.2 came with FPC 3.2.2. ill try that 7.2 patch from svn, as 8.0 is still "beta"
hoedlmoser
by hoedlmoser
24.11.2022, 10:29
Forum: ZeosLib 7.2 Forum
Topic: version 7.2.14 sqlite umlauts
Replies: 7
Views: 782

Re: version 7.2.14 sqlite umlauts

@Michal
thanks for your reply. i replaced the 7.2.14 with 8.0 from svn trunc 7930 and it works (still using Lazarus 2.2.2 64 bit and sqlite.dll 3.8.7.0)
regards
hoedlmoser
by hoedlmoser
23.11.2022, 12:42
Forum: ZeosLib 7.2 Forum
Topic: version 7.2.14 sqlite umlauts
Replies: 7
Views: 782

version 7.2.14 sqlite umlauts

Hello, i came over a problem with version 7.2.14 on a lazarus 2.2.2, messing up with german umlauts when inserting a SQLite table. There is a small test project attached, with the sqlite.dll in use, just for compiling and running (there will load several sql-inserts into the synedit, to be marked an...
by hoedlmoser
02.11.2020, 12:09
Forum: ZeosLib 7.3/8.0 Forum
Topic: binary data shifted
Replies: 9
Views: 473

Re: binary data shifted

hi, 1. Exact Version and ProductName of the Server MS SQL 2000 Standard 32 bit with sp4 running on a 64 bit server 2. Exact Version and ProductName of the Compiler I dont know how to get an "exacter" version of the compiler than the one i mentioned above 3. Exact Version and ProductName of...
by hoedlmoser
19.10.2020, 16:01
Forum: ZeosLib 7.3/8.0 Forum
Topic: binary data shifted
Replies: 9
Views: 473

Re: binary data shifted

hi again,

TField.DataType returns "ftVarBytes". This is on a 32 bit Lazarus 1.8.2

kind regards
hoedlmoser
by hoedlmoser
12.10.2020, 09:26
Forum: ZeosLib 7.3/8.0 Forum
Topic: binary data shifted
Replies: 9
Views: 473

Re: binary data shifted

Hi Michael,

its a fixed size binary, like described in the example

kind regards
hoedlmoser
by hoedlmoser
08.10.2020, 07:58
Forum: ZeosLib 7.3/8.0 Forum
Topic: binary data shifted
Replies: 9
Views: 473

binary data shifted

Hi, The GetData() method in version 7.3 (r6881) now returns binary values shifted 2 bytes, eg. for binary(16) = 0x000000FF0000000000000000000000FF GetData() returns 0x1000000000FF00000000000000000000 Seems that the first 2 bytes contain the length of the binary instead of data. kind regards hoedlmoser
by hoedlmoser
30.09.2020, 11:34
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 876

Re: binary fields are not updated correctly

Hi Jan,

sorry for the delay, i didnt expect any more posts on this thread. Of course i would test this 7.3 version if i only could find it.

best regards

hoedlmoser
by hoedlmoser
23.09.2020, 09:05
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 876

Re: binary fields are not updated correctly

Hi Michael,
thanks for the advice

kind regards
hoedlmoser
by hoedlmoser
22.09.2020, 16:20
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 876

Re: binary fields are not updated correctly

thanks for your detailed answer. I changed the binary field definition to NOT NULL defaulting to 0x0, as workaround for that update issue. To migrate all our stuff from 2K to 2017 would be a lifetime job for a one man show, so we can forget about it. ...any of the following DDL statements have ever ...
by hoedlmoser
22.09.2020, 10:21
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 876

Re: binary fields are not updated correctly

Hello marsupilami, Thanks for your answer. We are running an old 2K and a 2017. If switching to 7.2 solves the binary problem, i will try it. As far as i remember, the metadata query has to be changed in this version with the old one. This works on 2K and 2017 as well. I dont know what Fr0sT means b...
by hoedlmoser
21.09.2020, 09:36
Forum: ZeosLib 7.1 stable Forum
Topic: binary fields are not updated correctly
Replies: 9
Views: 876

binary fields are not updated correctly

Hello, I am using zeoslib 7.1.4-stable, protocol = "FreeTDS_MsSQL-2000" + "msdblibr.dll" and got some trouble with binary fields. If the binary/varbinary value is null, it will not be updated. The varbinary value will be truncated to the size it had before the update. The table d...
by hoedlmoser
14.03.2018, 12:20
Forum: ZeosLib 7.2 Forum
Topic: This version is not working with MSSQL earlier than 2008
Replies: 2
Views: 817

This version is not working with MSSQL earlier than 2008

Hi Guys, there is a problem with the "ZDbcDbLibMetadata.TZMsSqlDatabaseMetadata.UncachedGetColumns" function. This generates a SQL statement like this, eg. for table 'theTablename' (added comments): select c.colid, c.name, c.type, c.prec, c.scale, c.colstat, c.status, c.iscomputed from sys...
by hoedlmoser
24.01.2018, 11:30
Forum: ZeosLib 7.1 stable Forum
Topic: MSSQL Data read only
Replies: 1
Views: 1984

MSSQL Data read only

Dear Zeos developers, in version 7.14 stable I came up with a problem in unit ZDbcDbLibMetadata.pas (Lazarus, MSSQL): The function "TZMsSqlDatabaseMetadata.UncachedGetColumns" performs two (redundant?) queries for metadata. In first place 'sp_columns' procedure is called, later syscolumns ...