Community discussion forum

Is it possible to write queries in C# to connect to both the database Sql Server and MySql?

  • 6 months ago
    Hi, I have one problem that I want to write queries once and want to use in both the database such as Sql Sever and MySql. Generally in Sql Server queries are written - select * from databasename.dbo.tablename and in MySql it is written - select * from databasename.tablename. But if I use select * from tablename its working fine. But , bcz I have to connect with two different database either in MySql or SqlServer. So, the problem arises. I want to make the software as database compatibilities. Thanx
    Post was edited on 22/04/2009 08:09:39 Report abuse

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!