Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3452954
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:19:05+00:00 2026-05-18T09:19:05+00:00

I did ask this before . But here is what I would like to

  • 0

I did ask this before. But here is what I would like to do –
I would like to run my .net application and monitor the sql queries being done and monitor only those as compared to sql profiler which logs everything.

So, does anyone know of a tool or a way I can monitor queries for an application and then find out the most expensive queries of that session ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:19:06+00:00Added an answer on May 18, 2026 at 9:19 am

    In your applications connection string to SQL Server, add (OTTOMH) APPLICATION_NAME = ‘ABC App’. So in effect it should be like

    ‘Server=YOURSERVERNAME;Integrated Security=SSPI;Application_Name=ABC App’

    Once your app is running, you can run sp_who2 in SQL Server Management Studio to view all the connections – check there to make sure that your application is showing up with the name rather than the generic name for .Net apps.

    *Double check if this is App Name or Application_Name*

    When you are setting up the trace flags in Profiler, go to the Events tab, and click on Column Filters. The first one is for the ApplicationName. Set that to ‘%ABC App%’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to ask something about query using mysql I have this table
I've done this before somewhere I'm sure of it! I have a SQL Server
(I am sorry, I wanted to ask this question on meta first, but it
I'm really sorry. This must seem like an incredibly stupid question, but unless I
before I ask my question I wanted to let everybody know that I appreciate
Well I was going to ask what the difference is but it's been answered
intro: I am pretty sure this is my fault. But I just don't see
I have a method that looks like this public static <T extends MyClass, X
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.