The following worked:
1. connect to server without database name
2. connection->ExecuteDirect("USE [abc!def!ghi]")
Search found 32 matches
- 17.07.2012, 16:23
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Special character ! in database name
- Replies: 4
- Views: 1950
- 17.07.2012, 11:53
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Special character ! in database name
- Replies: 4
- Views: 1950
Special character ! in database name
Hi, I'm trying to connect to a MSSQL database with special characters ! in the name, say abc!def!ghi. Now I get error "cannot find database abc". It seems the ! is interpreted as string separator. When I try [abc!def!ghi] then I get the error "unclosed quotation mark after 'abc!def!' ...
- 21.06.2012, 13:01
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [solved] MS-Access?
- Replies: 4
- Views: 1097
- 21.06.2012, 09:16
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [solved] MS-Access?
- Replies: 4
- Views: 1097
- 31.05.2012, 15:53
- Forum: ZeosLib 7.0 Beta Forum
- Topic: How to handle deadlock
- Replies: 5
- Views: 3409
Hi Michael I only know roughly what is a deadlock. AFAIK it works as follows. When you update a row in a table, the dbms does the following: 1. put a lock on that row (to prevent simultaneous updates by different processes) 2. update the row 3. removes the lock. When step 3 fails and another user/pr...
- 30.05.2012, 09:24
- Forum: ZeosLib 7.0 Beta Forum
- Topic: How to handle deadlock
- Replies: 5
- Views: 3409
How to handle deadlock
Hi, I'm using ZEOS7 in CBuilder XE with MySQL. When executing a number of consecutive transactions I frequently get a deadlock message: '...raised exception class EZSQLException with message 'SQL Error: Deadlock found when trying to get lock; try restarting transaction'. I've tried: try { bool suc =...
- 11.05.2012, 15:13
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [solved] MS-Access?
- Replies: 4
- Views: 1097
[solved] MS-Access?
Hi,
Is it possible to connect MS-Access with ZEOS lib?
Henk
Is it possible to connect MS-Access with ZEOS lib?
Henk
- 20.04.2012, 10:05
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
- 19.04.2012, 14:01
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
- 19.04.2012, 11:02
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
- 17.04.2012, 08:10
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
- 16.04.2012, 16:32
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
- 16.04.2012, 11:04
- Forum: ZeosLib 7.0 Beta Forum
- Topic: [patch_done] How to insert TEXT data?
- Replies: 10
- Views: 1395
[patch_done] How to insert TEXT data?
Hi, I've a problem with inserting text data (MySQL; ZEOS7; CBuilder XE). I create a table: CREATE table test(id int not null, txt TEXT null) Engine=InnoDB; Next I want to insert data: ZSQLProcessor1->Script->Text = "insert into test (id, txt) values(:id,:txt)"; ZSQLProcessor1->ParamByName(...
- 16.04.2012, 08:12
- Forum: ZeosLib 7.0 Beta Forum
- Topic: PROCEDURE can't return a resultset in the given context
- Replies: 4
- Views: 1813
- 12.04.2012, 15:25
- Forum: ZeosLib 7.0 Beta Forum
- Topic: PROCEDURE can't return a resultset in the given context
- Replies: 4
- Views: 1813
PROCEDURE can't return a resultset in the given context
Hi, I've just started with ZEOS7 in CBuilder XE. In my app in CBuilder6 with ZEOS6 I used a TZReadOnlyQuery wich calls a stored procedure (MySQL): in the SQL property I have "call proc()". In the new situation I get the error "PROCEDURE can't return a resultset in the given context&qu...