Follow SQL92 standards. The vendors usually provide a list of non-standard SQL (eg "connect by" in oracle). Just do straight SQL insert, select, update, delete (CRUD) without getting too fancy and you should be fine. The key is to test you app on the various platforms, but to my knowledge DB2...