I cant see your code, but try making sure the query is made against native SRS. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.