If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Any tips on parallel development mysql & mssql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-19-09, 11:55
jayjay jayjay is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
Any tips on parallel development mysql & mssql

We are not using any SP's . Our platform is C# on .NET and we need to support both databases.

Any tips on developing for both data bases at the same time ?

Jay
Reply With Quote
  #2 (permalink)  
Old 09-21-09, 01:08
mnirwan mnirwan is offline
Registered User
 
Join Date: Sep 2009
Posts: 64
If possible, try to use standard SQL as much as possible. In other words, don't use SQL dialect specific to a SQL server.

Another way is to have a SQL statements defined similar to the way a translation would. For example, you have a list of SQL statements for MSSQL in one file and for MySQL in different file. Depending on configuration of which database is used, one of the 2 files are loaded.
Reply With Quote
  #3 (permalink)  
Old 09-21-09, 03:26
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,258
or consider abstracting the database layer out into database specific classes

sticking to standard SQL is a smart call, but sometimes you just get the itch toi use propriatorial extensions to SQL
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On