Subject | Re: [firebird-support] Use of double quoted names in Firebird |
---|---|
Author | Martijn Tonies |
Post date | 2005-03-23T11:06:42Z |
> >>2. Constraints?As far as I can see, that isn't valid DDL :-)
> >
> > Constraint:
> > ALTER TABLE "I_TABLE_ÅÄÖ" ADD PRIMARY KEY
> > ("ÅÄÖID");
>
> Ah, but how about this:
> ALTER TABLE "I_TABLE_ÅÄÖ" ADD PRIMARY KEY "ÅÄÖ_PK" ("ÅÄÖID")
This works though:
ALTER TABLE "I_TABLE_ÅÄÖ" ADD CONSTRAINT "ÅÄÖ_PK" PRIMARY KEY
("ÅÄÖID");
> >>3. Lower-case/mixed-case (in all places)?automatically
> >
> > What do you mean by this?
>
> I meant, does it work even if I want to name my
> table/field/index/constraint "MinLåda" (= "MyBox" in English)? I think I
> had problems only with lower-case åäö in one of the tools I tested.
> Hence the question.
>
> > Anyway, if you're using mixed case, Database Workbench will
> > quote the identifiers in the editors or generated SQL statements.Oh, did I mention anything 'bout the cross-database capabilities of
>
> Sounds good, as usual. :-) When we start making money we might just
> inves in your tool as well as your FB driver, although we'd like to stay
> on ADO since we also use MSSQL.
Database Workbench yet :-)
I just migrated SCOTT (Oracle) to Firebird in under 1 minute. *g*
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com