473,396 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.NET/SQL viewer

Does anybody know a tool that I could use to see all SQL statements send
by my application (C# .NET 2.0 ) to SQL Server ?

I know Delphi has that kind of tool.

Thanks

Steph.
Sep 7 '06 #1
4 1419
TheSteph wrote:
Does anybody know a tool that I could use to see all SQL statements send
by my application (C# .NET 2.0 ) to SQL Server ?

I'm not too familiar with SQL 2005, but 2000 has a utility called
"Profiler", which lets you do just that. It works similarly to a packet
sniffer.

Hope that helps,

--
Sean
Sep 7 '06 #2

TheSteph wrote:
Does anybody know a tool that I could use to see all SQL statements send
by my application (C# .NET 2.0 ) to SQL Server ?

I know Delphi has that kind of tool.

Thanks

Steph.
SQL Server 2000 shipped with SQL Profiler, which I use to monitor the
statements sent by my program. I would assume that SQL Server 2005 has
something similar?

Sep 7 '06 #3
SQL Server 2005 (Std & Enterprise editions only) also has Profiler.

"TheSteph" <Th******@NoSpam.comwrote in message
news:Oo**************@TK2MSFTNGP03.phx.gbl...
Does anybody know a tool that I could use to see all SQL statements send
by my application (C# .NET 2.0 ) to SQL Server ?

I know Delphi has that kind of tool.

Thanks

Steph.
Sep 7 '06 #4
Monitoring with SQL Profiler
http://msdn.microsoft.com/library/de..._perf_86ib.asp

Introduction to SQL Profiler
http://www.developer.com/db/article.php/3482216
--

This posting is provided "AS IS" with no warranties, and confers no rights.
"TheSteph" <Th******@NoSpam.comwrote in message
news:Oo**************@TK2MSFTNGP03.phx.gbl...
Does anybody know a tool that I could use to see all SQL statements send
by my application (C# .NET 2.0 ) to SQL Server ?

I know Delphi has that kind of tool.

Thanks

Steph.

Sep 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Kris | last post by:
Hello, By accident I noticed that a hack to hide CSS from IE4.x/Mac also hides it from WebTV Viewer. Since I noticed a little while ago a post here that mentioned the 'incompatibility' of WebTV...
1
by: Rick Brown | last post by:
I'm trying to find a way to output a Access97 report to a file without losing any of the formatting. The Microsoft Snapshot Viewer does this perfectly but the person opening the file needs the...
9
by: bluedolphin | last post by:
Hello All: I have been brought onboard to help on a project that had some performance problems last year. I have taken some steps to address the issues in question, but a huge question mark...
4
by: Salad | last post by:
Hi: I have the following line: DoCmd.SendObject acSendReport, "TestReport", _ "SnapshotFormat (*.snp)", _ "joeblow@nowhere.com", , , "Report Test", _ "Does it open correctly?", True I have...
3
by: Robert Schuldenfrei | last post by:
Dear NG, I have Crystal Reports working to a file and directly to the printer with the following: private void mnuInvRep1301_Click(object sender, System.EventArgs e) {
5
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When...
1
by: Tressa | last post by:
I have a Csharp windows service that currently uses socketing to communicate to additional PC's to shutdown or restart. I need to also have this service open up the Event Viewer and search for...
0
by: Jerry J | last post by:
I have a third party image viewer that can display various types of images. The image viewer is ActiveX and lives inside of Internet Explorer. To get the image viewer to retrieve an image, java...
5
by: Dean Slindee | last post by:
I have looked everywhere I can think of for the .exe name of the Windows Picture and Fax Viewer. Anybody know what it's named? Thanks, Dean Slindee
1
by: monskie | last post by:
Hello to all, I have a problem which could be trivial to you guys. This concerns opening several crystal reports on the a crystal viewer on an ASPX page by calling window.open. My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.