Search found 140 matches
- 19.04.2011, 10:49
- Forum: MS SQL Server
- Topic: Blob Streams and Blob failures
- Replies: 6
- Views: 2088
- 14.04.2011, 14:52
- Forum: MS SQL Server
- Topic: Blob Streams and Blob failures
- Replies: 6
- Views: 2088
Hi,
I'm not sure I completely understand your problem but, did you try something like this:
I'm not sure I completely understand your problem but, did you try something like this:
Code: Select all
with ZQuery do
begin
Insert;
TBlobField( fieldByName('the_blob')).LoadFromFile('THE_FILE');
Post;
end;
- 12.04.2011, 13:39
- Forum: User Patches
- Topic: [patch_done] Bug in Master/Detail Mechanisms
- Replies: 3
- Views: 1925
mdaems , this patch is VERY DANGEROUS and can cause data loss. Specifically ... procedure TZAbstractDataset.InternalDelete; var RowNo: Integer; RowBuffer: PZRowBuffer; i: Integer; Detailsets: TList; ds: TZAbstractDataset; begin Detailsets := TList.create; getdetaildatasets(Detailsets); for i := 0 t...
- 12.04.2011, 08:25
- Forum: 6.6 - stable
- Topic: SQLite connect setup
- Replies: 2
- Views: 594
It is possible to use remote server for sqllite but only through some kind of file sharing. Example for Windows (smb/cifs) networks: ZConnection1.HostName := ''; ZConnection1.Database := '\\server\share\database_file'; ZConnection1.Connect; but this is one of those not-so-good ideas. Better use some...
- 06.04.2011, 22:06
- Forum: PostgreSQL
- Topic: "Out of Memory" whilefetching big dataset
- Replies: 8
- Views: 5251
It is hard to find a generic solution for your problem. You can fetch select directly into txt file with something like ZReadOnlyQuery.SQL := 'copy (select something with join ...) to E'c:\\tmp\\copy_test.txt' with CSV; ZReadOnlyQuery.ExecSQL; and avoid memory issues - you will have local txt file w...
- 06.04.2011, 16:08
- Forum: PostgreSQL
- Topic: "Out of Memory" whilefetching big dataset
- Replies: 8
- Views: 5251
Hi, what means slow to you? count(*) shouldn't be very slow. On my development machine count with similar table with cca 500 000 records executes under 200 msec. Is your postgres server configured correctly? Size of shared_buffers param? If you don't need exact number of records you can try with: se...
- 31.01.2011, 10:51
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Postgres Fields are marked ReadOnly
- Replies: 4
- Views: 806
- 11.01.2011, 10:23
- Forum: Firebird
- Topic: about zeos and korean language
- Replies: 1
- Views: 668
- 07.01.2011, 15:35
- Forum: MySQL
- Topic: dlls libmysql40.dll, libmysql41.dll,libmysql323.dll,libmysql
- Replies: 2
- Views: 3431
- 04.01.2011, 17:06
- Forum: PostgreSQL
- Topic: bytea field save\load
- Replies: 10
- Views: 4304
- 03.01.2011, 15:22
- Forum: PostgreSQL
- Topic: bytea field save\load
- Replies: 10
- Views: 4304
I did some investigations and it seems that problem lies in pg 9 client changes so it's not zeos specific (actually, it's more feature then bug :wink: ) Here is excerpt from pg 9 change log: --- bytea output now appears in hex format by default (Peter Eisentraut) -- I just want to warn all of you wh...
- 27.12.2010, 23:59
- Forum: PostgreSQL
- Topic: bytea field save\load
- Replies: 10
- Views: 4304
- 17.12.2010, 22:03
- Forum: MS SQL Server
- Topic: Error conecting to mssql with zeosdb on debian
- Replies: 8
- Views: 3371
- 14.12.2010, 17:22
- Forum: 6.6 - stable
- Topic: Can't get Master-Detail to work
- Replies: 2
- Views: 643
- 16.05.2010, 15:54
- Forum: Firebird
- Topic: Multiple Users - Many other questions
- Replies: 2
- Views: 586
Re: Multiple Users - Many other questions
So when i insert on Computer A a record on a ztable i send to the FB but computer B is not notified ( even i do ztable.refresh ). People who start to program C/S often asks that question - in short: Computer B have no idea that table is changed unless you use some NOTIFY (see TZIBAlerter component)...