View connection and Locking Information
This script combines sp_who2 and sp_lock to get meaning full info that includes host Ip address
2010-05-17 (first published: 2009-06-23)
2,551 reads
This script combines sp_who2 and sp_lock to get meaning full info that includes host Ip address
2010-05-17 (first published: 2009-06-23)
2,551 reads
Track object definition or table schema changes in any database. Batteries required: you need to create a few things to make it run.
2010-05-14 (first published: 2009-06-24)
1,788 reads
2010-05-13 (first published: 2009-07-01)
3,921 reads
2010-05-12 (first published: 2009-07-09)
2,988 reads
When using GUI tools, it seems the DB cannot be restored from a network path. This is actually possible via the script.
2010-05-11 (first published: 2009-07-11)
3,171 reads
The script provides complete and comprehensive permission reports, on all SQL Server security hierarchy levels, for all Logins. Reports on particular Logins and databases can be customized.
2010-05-10 (first published: 2009-07-16)
7,985 reads
2010-05-07 (first published: 2009-07-31)
3,375 reads
Given a tablename and other parameters, this procedure will return a table made of foreign keys and a checksum for each
2010-05-06 (first published: 2010-05-02)
2,048 reads
This script converts a number of seconds (integer) to a time string, format 'hh:mm:ss'
2010-05-05 (first published: 2010-04-28)
1,506 reads
2010-05-03 (first published: 2010-04-23)
2,023 reads
By Brian Kelley
Annually, the IIA Palmetto Chapter puts on a 1 day on-line event in conjunction...
By Arun Sirpal
In the last post I registered AgentDBA as an MCP server in Claude Code....
By Brian Kelley
Yesterday, announcements came out from the US National Security Agency (NSA) and major technical...
BCA KCP Hasyim Ashari TLP:WA 08218573839 Jl. KH. Hasyim Ashari No.5 AA, RT.1/RW.2, Petojo...
BCA KCP Mangga Dua ITC (Telp)Wa:08136277343 No. 20-25, 29-32, Gedung ITC Mangga Dua, Jl....
BCA Finance WTC Mangga Dua (Telp)Wa:08136277343 Gedung WTC Jl. Mangga Dua Raya. 8 Lantai...
I have a table, dbo.bittest, where I am testing an application response. This has this structure:
CREATE TABLE [dbo].[BitTest] ( [insertdate] [datetime] NULL CONSTRAINT [DF__BitTest__insertd__300F11AC] DEFAULT (getdate()), [a] [bit] NULL ) ON [PRIMARY] GOMy application runs this code:
INSERT dbo.BitTest
(
insertdate,
a
)
VALUES
(DEFAULT, 9)
GO
What gets inserted for the most recent date/time value? See possible answers