Am wondering if there are guidelines somewhere to write SQL code which is compatible in SQL Server, mySQL as well as postgreSQL. I am writing a program and the user has a choice of backend database. It will be really difficult for me to create separate queries for each and every db. I do not want to use an ORM or anything like that.
Thank you for your time.
t cater for separate platforms. There will be things that MSSQL can do much faster in a stored procedure, than from dynamic SQL, for example - but I dont reckon MS Stored Procedure syntax is portable to much if anything else!