Does anyone have any idea as to how to implement a DB solution that can be ported across different vendors ?

How can u write and create SQL code that can independent of the vendor specific SQL so that it can work for different DBs ?

Any books ? Any references ?

Thanks for the help.