Re: Supporting multiple database'

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



TCancey,

For this is the 2005 factory, however I have the idea that it is far from
ready.
http://www.vb-tips.com/dbpages.aspx?ID=8c3dc2d7-1232-4dd1-817e-22eaaebb2723

Cor


"TClancey" <tull@xxxxxxxxxxxxxxxx> schreef in bericht
news:Q9edncCLgYnq-QPYnZ2dnUVZ8sSrnZ2d@xxxxxxxxx
Hi all.

I have an app that needs to connect to either - an Access database, MySql
database or MsSql database. It will be the end users decision which they
want to use.

I've done a lot of work with Access in the past, and a good deal with
MySql and realise that there are syntax issues between these two back
ends. I haven't done a great deal with MsSql yet, but I would imagine
that syntax is going to be an issue here as well.

I really want to avoid writing,
If ConnType = "Access" then DoSql("update ....")
If ConnType = "MySql" then DoSql("update ....")
If ConnType = "MsSql" then DoSql("update ....")
for every single Sql statement in the application, but can't think of an
easy way to parse the commands and check syntax.

Has anyone got any ideas?
Cheers,
Tull.



.



Relevant Pages

  • Invalid query syntax with mySQL in database project
    ... I'm using visual studio .NET 2003 enterprise and MySQL ... I've created a database project in wich I like to ... The query builder created incorrect syntax for joins. ... When using microsoft OLE DB provider for ODBC drivers to ...
    (microsoft.public.vsnet.general)
  • Invalid query syntax with mySQL in database project
    ... I'm using visual studio .NET 2003 enterprise and MySQL ... I've created a database project in wich I like to ... The query builder created incorrect syntax for joins. ... When using microsoft OLE DB provider for ODBC drivers to ...
    (microsoft.public.dotnet.general)
  • Invalid query syntax with mySQL in database project
    ... I'm using visual studio .NET 2003 enterprise and MySQL ... I've created a database project in wich I like to ... The query builder created incorrect syntax for joins. ... When using microsoft OLE DB provider for ODBC drivers to ...
    (microsoft.public.vstudio.development)
  • RE: recommendations for python web programming tools
    ... It uses DB-API 2.0 based modules to interface with the database ... Database Connections to MySQL, you will need to the module for MySQL: ... recommendations for python web programming tools ... syntax and I have the time to learn something new. ...
    (comp.lang.python)
  • Re: MySQl-database
    ... to get any kind of referential or transactional integrity. ... and creating InnoDB tables does indeed require non-standard syntax. ... The ANSI SQL standard doesn't specify any way to tell the database what ... how many applications are using MySQL and *think* that the database is ...
    (comp.lang.java.databases)