Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / March 2006

Tip: Looking for answers? Try searching our database.

How to view SQL being sent to the server?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gte401e - 29 Mar 2006 22:51 GMT
Using SQL Server 2k5 Report Designer.  When I run a report, how do I
view the SQL generated by the report populated with parameters that
is/was/will be sent to the server?

Thanks
Geoff N. Hiten - 29 Mar 2006 23:11 GMT
The SQL Profiler tool is what you are looking for.  Be careful running this
tool against a production system, especially one with high transaction
volumes.  You can severely impact system performance very easily.  Read
first, then test, then deploy.

Signature

Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP

> Using SQL Server 2k5 Report Designer.  When I run a report, how do I
> view the SQL generated by the report populated with parameters that
> is/was/will be sent to the server?
>
> Thanks
gte401e - 30 Mar 2006 17:28 GMT
Tried Profiler and I'm not seeing the entire SQL statement generated
from the report. Is there a way I can see the Where clause?
Thanks
Geoff N. Hiten - 30 Mar 2006 19:48 GMT
The TextData column should show the entire SQL Statement.  You may have to
click on the statement to get it to appear fully in the lower window.

Signature

Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP

> Tried Profiler and I'm not seeing the entire SQL statement generated
> from the report. Is there a way I can see the Where clause?
> Thanks
Amarnath - 31 Mar 2006 08:02 GMT
If not trying with sql profiler due to high volume try opening executionLog
table in the report server database, find your latest run report. but you can
see only the parameters you had passed.

Amarnath

> The SQL Profiler tool is what you are looking for.  Be careful running this
> tool against a production system, especially one with high transaction
[quoted text clipped - 6 lines]
> >
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.