Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to configure sql server profiler to see sql for my session only

How to configure sql server profiler to see sql for my session only

Scheduled Pinned Locked Moved ASP.NET
databasesql-servertutorialcsharpsysadmin
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tridip Bhattacharjee
    wrote on last edited by
    #1

    suppose i am working with SSMS and issuing many sql but sql server profiler will show all sql hiting database. so tell me how to configure sql server profiler to see my issued sql only. suppose i have developed c# apps which calling store proc or issuing in line sql. so tell me in this scenario how could i configure sql profiler to see what sql my desktop application is issuing ? guide me in details or get me a article link which help me to configure sql server profiler to see sql issued by my desktop apps. thanks

    tbhattacharjee

    L 2 Replies Last reply
    0
    • T Tridip Bhattacharjee

      suppose i am working with SSMS and issuing many sql but sql server profiler will show all sql hiting database. so tell me how to configure sql server profiler to see my issued sql only. suppose i have developed c# apps which calling store proc or issuing in line sql. so tell me in this scenario how could i configure sql profiler to see what sql my desktop application is issuing ? guide me in details or get me a article link which help me to configure sql server profiler to see sql issued by my desktop apps. thanks

      tbhattacharjee

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Tridip Bhattacharjee wrote:

      guide me in details or get me a article link

      Please do your own research: that is what Google is there for.

      1 Reply Last reply
      0
      • T Tridip Bhattacharjee

        suppose i am working with SSMS and issuing many sql but sql server profiler will show all sql hiting database. so tell me how to configure sql server profiler to see my issued sql only. suppose i have developed c# apps which calling store proc or issuing in line sql. so tell me in this scenario how could i configure sql profiler to see what sql my desktop application is issuing ? guide me in details or get me a article link which help me to configure sql server profiler to see sql issued by my desktop apps. thanks

        tbhattacharjee

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You can filter the results. MSDN has a list of the columns and their use :)

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        T 1 Reply Last reply
        0
        • L Lost User

          You can filter the results. MSDN has a list of the columns and their use :)

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

          T Offline
          T Offline
          Tridip Bhattacharjee
          wrote on last edited by
          #4

          i found it...here it is Under Trace properties > Events Selection tab > select show all columns. Now under column filters, you should see the USERNAME name. Give username in following fig. [screen shot image]

          tbhattacharjee

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups