Originally posted by mkalter:
There is no formal property that indicates this, but the SQL text contains '/* Modified for QBE */' in this case. I admit it is not very elegant, but it works. We have some enhancements planned for QBE, we will include something for this as well.