T
TClancey
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.
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.