Return Query Text Along With sp_who2 Using Dynamic Management Views
This article describes how to generate the sp_who2 results including the query text for the spid.
2008-06-26
23,212 reads
This article describes how to generate the sp_who2 results including the query text for the spid.
2008-06-26
23,212 reads
2008-06-25
4,180 reads
2008-06-24
4,243 reads
I was troubleshooting an issue last week on a vendor-developed database when they stated we needed to look at each one of the 50 tables in their database to make sure that all fields expecting default values, had default values assigned.
2008-06-11
3,561 reads
SQL Server Management Studio is rich with features. So rich, in fact, that after almost 3 years I am still finding new tools in the application that afford me more control over my databases and the methods for supporting them. Recently I found myself needing to script out a database and its objects for reviewing a problem offline.
2008-06-09
3,758 reads
These scripts give you the list of logins created in the Last X Days for SQL Server 2000 or 2005.
2011-12-23 (first published: 2008-06-08)
2,382 reads
Continuing on with his very popular series on monitoring your servers, David Bird takes a look at how you manage checking on multiple servers.
2008-06-02
13,489 reads
The concept of telecommuting is arguably the most controversial working arrangement to evolve from the 1990's technological revolution. Tim Ford explains what it requires to work remotely – not just the tools you need, but the also character traits.
2008-05-29
948 reads
2008-06-30 (first published: 2008-05-20)
3,083 reads
2008-06-26 (first published: 2008-05-20)
948 reads
While attending SQLCon and FabCon Europe in Barcelona, there were a lot of announcements...
By James Serra
(This is the second post in a three-part series on how AI is changing...
By Steve Jones
I had seen these roles in various instances, but never dug into the new...
Comments posted to this topic are about the item Pay for Performance, which is...
Has anyone encountered recurring request latency when using Microsoft Access with SQL Server 2025...
Comments posted to this topic are about the item The ##MS_DatabaseConnector## User
On SQL Server 2025, I run this code as a sysadmin:
CREATE LOGIN Demo WITH PASSWORD = 'Demo1234567' GO ALTER SERVER ROLE ##MS_DatabaseConnector## ADD MEMBER Demo GOI then login as Demo and run this:
USE sandbox go SELECT CURRENT_USERWhat is returned? See possible answers