Problems with ZSQLProcessor

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
silviojgfr
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 26.10.2005, 15:03
Location: Joao Pessoa - PB

Problems with ZSQLProcessor

Post by silviojgfr »

Hi, folks

I need to make an application to update the database structure on my costumers computers. I use ZEOS 6.5.1 alpha CVS an Firebird 1.5.

I use DBComparer to generate the DDL file with the updates I have to do. I've tested this DDL on IBExpert's Script Executive, and it works.

My application has a ZConnection and a ZSQLProcessor. ZSQLProcessor has no changes, properties are with default settings, except for the Connection and Script properties that I had to set them.

When I run the program, an error is raised with this msg:

Code: Select all

SQL Error:  Dynamic SQL Error SQL error code = -104 Token unknown - line 3, char 5 TERM. Error Code: -104. Invalid token The SQL: 

SET TERM ^ 
; 
This script has codes to create triggers, tables, drops, alters.... Since it has run with IBExpert, I think the problem is with ZProcessor's property Delimiter (set to ";") and DelimiterType (set to "dtDefault").

I coudn't find any Zeos documentation in the site, so I don't know how to use these properties.

How can I make ZSQLProcessor works fine with my script (and all its creates, alters, drops and SET TERMs..)???

Early thanks...

Silvio Ribeiro
Joao Pessoa - Paraiba - Brasil
mosca_morta
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 24.07.2006, 21:44
Contact:

Post by mosca_morta »

Hello, Silvio! Its great, Im living on Joao Pessoa too, and Im a zeos debugger and developer of HeidiSQL Project Team.

Send me a email: fco_ernesto@yahoo.com.br

See you later.
seekbirdy
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 23.07.2007, 12:55
Location: Fryazino, Moscow region, Russia

Post by seekbirdy »

Ok then, maybe you guys could manage to ovetcome this error... But I have a same story with FB 2.0 and Zeos 6.6.5 "stable". Is that any workaround for this problem?
Post Reply