Hi !

I have the error "The type of the SQL statement could not be determinated"
when executinq a script with FbBatchExecution.

*Code :*
Dim fbScript As New FbScript("E:\Script.sql")
fbScript.Parse()
Dim fbBatch As New FbBatchExecution(New
FbConnection("User=SYSDBA;Password=masterkey;Database=E:\test.fdb;Dialect=3;Charset=UTF8;ServerType=1;"),
fbScript)
fbBatch.Execute(True)


*Script :*
CREATE TABLE "Test" ("OneField" VARCHAR(15) CHARACTER SET ASCII NOT NULL);
COMMENT ON TABLE "Test" IS 'This is a comment.';

The file "script.sql" is UTF8 encoded.
If I remove the "COMMENT ON TABLE", no errors are thrown...

Versions used :
Firebird Client 2.5.2.0
Firebird Embedded : 2.1.3.18185
VB.NET 3.5
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to