Mo chomhghleacaí, Ashsih Patel, wrote up a nice walk-through describing how to see the CAML behind various SP queries that happen in the course of business in real-time using the ULS viewer.
Seo an votepage:
Did you ever want to know what CAML queries are executed by SharePoint Server?
Bhuel, for troubleshooting and learning purpose, it is not a bad idea. After all, SQL Profiler has been helping us troubleshoot a lot of issues.
There may be products out there but I figured out a way to do it without spending extra bucks! And here it is…
Is féidir leat léamh an rud ar fad anseo: http://www.bigapplesharepoint.com/pages/View-An-Insight.aspx?BlogID=68&rsource=pgblog&rtitle=caml.
</deireadh>