sql_profiler | Microsoft SQL-Server Profiler | SQL Database library
kandi X-RAY | sql_profiler Summary
kandi X-RAY | sql_profiler Summary
Microsoft SQL-Server Profiler (command-line) for Linux/Mac/Windows (works over ssh)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sql_profiler
sql_profiler Key Features
sql_profiler Examples and Code Snippets
./sql_profiler --server {computername\instance} --username WebAppWebServices --password TOP_SECRET --db "The DB you want to profile";
dotnet run sql_profiler --server {computername\instance} --username WebAppWebServices --password TOP_SECRET --db "T
Community Discussions
Trending Discussions on sql_profiler
QUESTION
Is there something like a "debug attach" for the SQL debugger? I have a middleware tool (BizTalk) that is calling a stored procedure and would like to debug it.
As alternative I tried adding statement to insert into a trace table, but BizTalk rolls back the transaction when it fails. I've added print statements, but no way to see them when running externally. I've been using SQL_profiler which helps a little, but cannot see values of variables.
Per @Jeroen comment, I tried sp_trace_generatedevent, but only see this in the profiler. I have filter on my DBName, and have all userConfigureable events turned on.
...ANSWER
Answered 2018-Apr-24 at 20:58sp_TraceGenerateEvent is useful to write data to the profiler. (Example usage here: https://blogs.technet.microsoft.com/fort_sql/2012/06/21/capture-custom-events-in-profiler-for-troubleshooting/)
Just beware that when BizTalk calls the stored proc, it has two passes, once with FmtOnly=On, and the second (the real execution) with FmtOnly=Off. You might not reach the second pass if you have certain errors on the first pass. Getting sp_tracegenerateevent to work in a stored procedure
When FmtOnly=On, the Trace Profile can be confusing, leading you to believe it's running when it's really just checking for what data/columns will be returned. Can SQL Begin Try/Catch be lying to me (in the profiler)?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sql_profiler
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page