I\'m in the process of generalizing a Django DB replication app and it uses the statement:
SELECT %s FROM %s LIMIT 1
to fetch 1 row and use
It doesn't work on MSSQL (which uses SELECT TOP 10 * FROM Blah instead). That cuts out a significant portion of the DB market. I'm not sure about others.
SELECT TOP 10 * FROM Blah
Also, it's possible, though very unlikely, that your DB API will translate it for you.