We should provide you help with guidelines for writing more portable SQL. I'll be back in Boston again on March 7th, maybe by then I can get together a list of suggestions for you. Feel free to bug me...
You folks should have a copy of Date and Darwin's "The SQL Standard". It's on my desktop next to "SQL for Smarties"...