RE: [gnome-db] RE: gASQL



Let me suggest to have:

	modify_schema(cmd_type, gdaparameterlist)

where

enum cmd_type {GDA, DBMS, SQL}

meaning

GDA = the command uses GDA syntax which the provider has to convert to DBMS
command (proprietary SQL, standard SQL, whatever)

DBMS = the command uses DBMS syntax and provider just passes it through to
the  DBMS

SQL = the command is written in standard SQL Data Definition commands and
the provider might have to do some modifications to comply with the DBMS
proprietary SQL (or not).

Note that the support for SQL has the following advantages:
- the existing SQL parser could be reused by each provider;
- it makes easier for applications already issuing SQL to be adapted to use
libgda

Just an idea,

Fernando





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]