Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a SQL Server Profiler for SQL Server Express? [closed]

Is there a SQL Server Profiler for SQL Server Expess? Maybe an open-source one? Or maybe just a tool that helps me see what query is passed to the database?

like image 984
Hannoun Yassir Avatar asked Apr 17 '09 13:04

Hannoun Yassir


People also ask

What replaced SQL Server Profiler?

SQL Trace and SQL Server Profiler are deprecated. The Microsoft. SqlServer. Management.

Does SQL Server Agent work with Express?

SQL Server Express doesn't include SQL Server Agent, so it's not possible to just create SQL Agent jobs. What you can do is: You can create jobs "manually" by creating batch files and SQL script files, and running them via Windows Task Scheduler.

How do I find SQL Server SQL Profiler?

Click Start, point to Programs, click Microsoft SQL Server 20xx (your version), click Performance Tools, and then click SQL Server Profiler.

What is SQL Express Profiler?

ExpressProfiler (aka SqlExpress Profiler) is a simple open source replacement for SQL Server Profiler with basic GUI. It supports both SQL Express and non-Express Editions.


2 Answers

SP1 of SQL Server Express 2012 Advanced Services now includes the full SQL Management Studio, and this has the profiler.

like image 132
Steve F Avatar answered Sep 21 '22 17:09

Steve F


Ok, old question but maybe this helps other people with same problem.

You can activate the SQL Server Express Error Log in a way that it monitors all statements runned agaist every database. To do so you must run the following on an elevated command prompt (that is, a command prompt runned as administrator):

net stop MSSQL$SQLEXPRESS net start MSSQL$SQLEXPRESS /T4032 

Now, using the SQL Server Management Studio run the following:

dbcc traceon(3605, -1) 

Now you can look at the ERRORLOG file within the Log folder of MS SQL folder (which may be "C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\Log" for the default installation of SQL Server Express 2012).

Hope this helps someone (as it sure helped me)

like image 22
Marcelo Myara Avatar answered Sep 18 '22 17:09

Marcelo Myara