Based on How to write database independent code:
1) Suggest db_query_range when a LIMIT is specified.
2) You might already do this, but suggest NULL instead of ''.
3) Check for table names in braces - one of mine slipped through with back ticks on it.
Comments
Comment #1
nancydruIs this a duplicate now?
Comment #2
douggreen commentedSorry, this ticket fell off my first page of issues. Thanks for bringing it back to the forefront.
Comment #3
nancydru2. I don't remember exactly. It was mentioned in the post I referenced.
Comment #4
stella commentedDrupal 5 version is no longer supported, closing.