Search found 7 matches
- 29.05.2010, 06:42
- Forum: 6.6 - stable
- Topic: Problem with sqlite blob encoding
- Replies: 2
- Views: 518
What does zeoslib make from your insert statement when sending it to SQLite? You can use a TZSQLMonitor to find that out. not mentioned before that I use TZSQLProcessor to handle instert statement. Seems to me the error comes from SQLite itself. because of a syntax error? I've solved that issues us...
- 23.05.2010, 18:54
- Forum: 6.6 - stable
- Topic: Problem with sqlite blob encoding
- Replies: 2
- Views: 518
Problem with sqlite blob encoding
Based on documentaction http://www.sqlite.org/datatype3.html SQLite allow to insert blob file using hex encoding (x character before string), i.e.: INSERT INTO t1 VALUES(x'0500', x'0500', x'0500', x'0500', x'0500'); after executing above example i've got error unrecognized token: x'0500' is there an...
- 06.01.2007, 12:27
- Forum: Firebird
- Topic: Multiple queries in one transaction
- Replies: 4
- Views: 2516
- 02.01.2007, 13:43
- Forum: Firebird
- Topic: Multiple queries in one transaction
- Replies: 4
- Views: 2516
Multiple queries in one transaction
Is possible to put few inserts and updates in one transaction. SQLite code looks like this: with Query.SQL do begin Add('INSERT INTO abc VALUES (''aa'');'); Add('INSERT INTO abc VALUES (''bb'');'); Add('INSERT INTO abc VALUES (''cc'');'); Add('COMMIT;'); end; Query.ExecSQL; The same code doesn't wor...
- 11.06.2006, 19:04
- Forum: SQLite
- Topic: Problem with nonstandard field
- Replies: 0
- Views: 1478
Problem with nonstandard field
Problem appears when I use internal functions or expressions and result is a number with decimal separator: SELECT SUM(1.0) fld or SELECT 1.0+2.0 fld After executing I use: ds.FieldByName('fld').AsFloat i've get "3.0 is not a valid floating point value" and here is a bug, in some country's...
- 25.03.2006, 12:32
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: SQLite3
- Replies: 8
- Views: 2295
I found easier way to show this problem (it also appears in 3.x)
Code: Select all
select * from sqlite_sequence;
- 03.03.2006, 09:04
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: SQLite3
- Replies: 8
- Views: 2295
Thank you very much. btw I found a little problem when I select a view from database example: CREATE VIEW vabonament AS SELECT idabonamentu, idpozycji, idumowy, datanaliczen, tryb, ilosc, liczbarat, CASE WHEN tryb IN (1, 2) THEN (SELECT usluga FROM uslugi WHERE iduslugi=(SELECT iduslugi FROM cennik_...