Subject | Re: Firebird 1.0 - Error creating multiple tables |
---|---|
Author | tomahahn |
Post date | 2002-08-10T17:43:43Z |
--- In ib-support@y..., Helen Borrie <helebor@t...> wrote:
has always worked; that is what was mystifying about the problem.
Tom
______________________________________________________________________
> At 02:23 PM 10-08-02 +0000, you wrote:not
>
> > > What happens if you add this line:
> > >
> > > DM.IBTransaction1.Commit;
> > >
> > > after executing the first query?
> > >
> > >
> >It creates the database and the first table; then errors on the
> >second ExecQuery.
>
> Sending DDL statements through the client interface in Delphi is
> recommended. In the case of creating a database and its objects itthe
> is >>particularly not recommended<<.
>
> Instead, use a script component which accesses the same DDL utility
> services that isql uses for script processing and allows you to use
> special isql SQL commands for setting the object creationenvironment,
> including SET AUTODDL. Both IB Objects and the IBX ServiceComponents
> include script components, which are documented.Thank you! I have used a similar technique with SQLServer/ADO and it
>
has always worked; that is what was mystifying about the problem.
Tom
______________________________________________________________________