See queries that hit SQL
        Posted  
        
            by Shaded
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Shaded
        
        
        
        Published on 2010-06-10T19:59:41Z
        Indexed on 
            2010/06/10
            20:03 UTC
        
        
        Read the original article
        Hit count: 185
        
sql
|sql-management-studio
I have a really basic stupid easy question about sql... and I'll probably get -100 points... but here it goes anyway...
Is there a way using sql 2008 Management Studio to look at the queries that hit the server? I'm trying to debug a program and I get messages like "Incorrect syntax near the keyword 'AND'". Since the queries are being dynamically generated it's a hassle to figure out what is going to the server.
Any help is appreciated!
© Stack Overflow or respective owner