A quick and dirty way is to throw something in the query that you know
will cause an error (ie change the srid or something).  The error
message that gets spit back at you when you try running mapserver then
contains the query.&nbsp; It's ugly, but it's easy and fast.<br><br><div><span class="gmail_quote">On 11/11/05, <b class="gmail_sendername">Chris Helm</b> &lt;<a href="mailto:helmster_99@yahoo.com">helmster_99@yahoo.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list-<br><br>I'm having some trouble with mapserver query results<br>with data PostGIS. I'm wondering if there's a way to
<br>find the exact sql statement that mapserver uses when<br>generating a query result in the nquery mode?<br><br>Thanks,<br>Chris<br><br><br><br>__________________________________<br>Start your day with Yahoo! - Make it your home page!
<br><a href="http://www.yahoo.com/r/hs">http://www.yahoo.com/r/hs</a><br></blockquote></div><br>