PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Urgent - How to get the Query Execution History
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Urgent - How to get the Query Execution History

Réponse
 
LinkBack Outils de la discussion
Vieux 15/07/2008, 22h11   #1
Mo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Urgent - How to get the Query Execution History

Hi,

We are trying to trouble shoot a problem and we are not sure what is
the queries that the application sending to my sql server. is there a
way to audit the queries executed by SQL Server?

Thanks
  Réponse avec citation
Vieux 15/07/2008, 22h33   #2
Denny Cherry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Urgent - How to get the Query Execution History

You can start up SQL Profiler and use it to see what commands are
being executed in real time.

Denny

On Tue, 15 Jul 2008 13:11:33 -0700 (PDT), Mo <theguzu@gmail.com>
wrote:

>Hi,
>
>We are trying to trouble shoot a problem and we are not sure what is
>the queries that the application sending to my sql server. is there a
>way to audit the queries executed by SQL Server?
>
>Thanks

  Réponse avec citation
Vieux 15/07/2008, 22h52   #3
Plamen Ratchev
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Urgent - How to get the Query Execution History

You can use SQL Server Profiler:
http://msdn.microsoft.com/en-us/library/ms187929.aspx

On a production server is best to use server side trace:
http://vyaskn.tripod.com/server_side...sql_server.htm

HTH,

Plamen Ratchev
http://www.SQLStudio.com
  Réponse avec citation
Vieux 15/07/2008, 23h23   #4
Mo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Urgent - How to get the Query Execution History

Does it work on SQL 2000? following query works in 2005 but not in 2000
  Réponse avec citation
Vieux 16/07/2008, 14h45   #5
Linchi Shea
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Urgent - How to get the Query Execution History

> Does it work on SQL 2000?
What is it? SQL2000 has its version of profiler or SQL Trace. This is an
inherent part of the product.

Linchi

"Mo" wrote:

> Does it work on SQL 2000? following query works in 2005 but not in 2000
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08344 seconds with 13 queries