I think, FbBatchScript not support CREATE DATABASE in Embedded Server?

-----Original Message-----
From: Dean Harding [mailto:dean.hard...@dload.com.au] 
Sent: Monday, January 05, 2009 13:33
To: 'For users and developers of the Firebird .NET providers'
Subject: Re: [Firebird-net-provider] FbBatchScript can't CREATE DATABASEin
Embedded server

> I get lastest Fb.Net 2.5 and build it. I try to use FbBatchScript to
create
> database in Embbedded mode. But it can't. Please help me.

You haven't described the problem. HOW do you try to create a database using
the FbBatchScript (please provide the code you're using). HOW does it fail?
Does it produce an error message (if so, what does the error say)? Does it
simply do nothing and no database is created? Something else?

Lastly, with the embedded server, you need to use
FbConnection.CreateDatabase to actually create the database file, and then
you can use FbBatchScript to populate it with tables/sproc/etc.

Dean.



----------------------------------------------------------------------------
--
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to