Subject | Re: Unknown token CREATE |
---|---|
Author | edcurren |
Post date | 2005-07-08T17:53:43Z |
Hi Jason,
This application is the only thing running on my PC. Is there a
delay after isc_dsql_detach()? That is the only thing I can think of
that may be at issue here.
Thanks.
Ed
--- In firebird-support@yahoogroups.com, Jason Dodson <jasond@b...>
wrote:
This application is the only thing running on my PC. Is there a
delay after isc_dsql_detach()? That is the only thing I can think of
that may be at issue here.
Thanks.
Ed
--- In firebird-support@yahoogroups.com, Jason Dodson <jasond@b...>
wrote:
> You must have more then one connection to the database... only onecan
> be attached for you to be able to make such changes.through
>
> Jason
>
> edcurren wrote:
> > Ugh! I've seperated the statements and am now running them
> > one at a time. However when I get to a CREATE TABLE statementthat
> > has a FOREIGN KEY contstraint to a table created 3 sql statmentsand
> > prior, I get the following error:
> >
> > This operation is not defined for system tables.
> > unsuccessful metadata update
> > object CUSTOMERS is in use
> >
> > The code does a full attach_db, create_stmt, prep_stmt, execute,
> > commit, detach_db cycle for each sql statement. I'm lost folks,
> > in desperate need of help.<ecurren@a...>
> >
> > Thanks all.
> > Ed
> >
> > --- In firebird-support@yahoogroups.com, "edcurren"
> > wrote:
> >
> >>Ah, okay. Thanks Martijn.
> >>
> >>--- In firebird-support@yahoogroups.com, "Martijn Tonies"
> >><m.tonies@u...> wrote:
> >>
> >>>Ed,
> >>>
> >>>You cannot execute multiple statements in one go.
> >>>
> >>>With regards,
> >>>
> >>>Martijn Tonies
> >>>Database Workbench - tool for InterBase, Firebird, MySQL, Oracle
> >
> > & MS
> >
> >>SQL
> >>
> >>>Server
> >>>Upscene Productions
> >>>http://www.upscene.com
> >>>Database development questions? Check the forum!
> >>>http://www.databasedevelopmentforum.com
> >
> >
> >
> >
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Visit http://firebird.sourceforge.net and click the Resources item
> > on the main (top) menu. Try Knowledgebase and FAQ links !
> >
> > Also search the knowledgebases at http://www.ibphoenix.com
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >