Mar 25, 2009
# 2,278
Recently I had troubles restoring a database in my SQL Server 2005 instance (SP3). I used the ‘wizard’ in the SQL Server Enterprise manager but after I got the message ‘restore completed successfully’ the database hung in ‘Restoring’ state, blocking connections. read more →
Jan 30, 2008
# 1
Some osql switches. read more →
Jan 23, 2008
# 6,615
Braindump of a session where I had to remove a SQL Server database from single-user mode. read more →
Nov 16, 2006
# 192
Create, rename and drop a database in sql server … read more →
Nov 15, 2006
# 214
Control structures syntax; IF THEN ELSE, CASE, WHILE . read more →
Nov 14, 2006
# 363
Say you have an sql trace for the event ‘TSQL SQL:StmtCompleted’ you are, most probably, NOT interested in the sql statements executed through the SQL Server Agent for instance. read more →
Nov 3, 2006
# 1,337
Cursors in tsql, it can be done … read more →
Nov 1, 2006
# 344
Returing values into tsql variables from a dynamic sql statement using sp_executesql stored procedure. read more →
Sep 18, 2006
# 160
Getting around in the mssql environment read more →
Sep 17, 2006
# 443
Date time functions (frustrations) in T-SQL. read more →
Sep 14, 2006
# 203
A translation of oracle dba_* tables/v$* views/functions to their respective mssql counterparts. read more →
Sep 7, 2006
# 390
Display/Alter running traces or an alternative way to shutdown your server (when ‘c2 audit mode’ is enabled). read more →
Sep 6, 2006
# 1,019
Display or change global configuration settings for your mssql server through sp_configure. read more →