On Tue, Jun 29, 2010 at 16:53, Olivier Metod <metod.t...@gmail.com> wrote: > 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...
Yep. But you can grab the sources and add support for it. It shouldn't be hard. -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com ------------------------------------------------------------------------------ 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