Prepare one box Virtual lab to evaluate SQL Server Denali Always-ON Features
This series of Videos will walk through on how to prepare one box HyperV lab to understand, evaluate & validate SQL...
2011-02-02
727 reads
This series of Videos will walk through on how to prepare one box HyperV lab to understand, evaluate & validate SQL...
2011-02-02
727 reads
Summary
I get lot of queries from DBA’s asking what is the quickest way to figure out issue on SQL Server....
2011-01-05
1,453 reads
2011-01-05
12 reads
2011-01-05
11 reads
2011-01-05
19 reads
If select into clause is used into transactions till the transaction commits sysobjects table can not acceses directly.It can be accessed only with 'nolock' hint.
2002-06-07
1,095 reads
This procedure will return size of the data files & log files of the database and tempdb. This is returned in one resultset so you can use this procedure to store fluctuation in database sizes.
2002-05-01
1,785 reads
By Steve Jones
I caught this interesting item over on Pinal Dave’s blog: Eleven Interview Questions that...
By Hemantgiri
I use color-coded connections in SSMS to distinguish Production, Pre-Production, UAT, and Development. But...
Comments posted to this topic are about the item Split Large Queries in Athena...
Comments posted to this topic are about the item Finding Trailing Spaces
I have some data in a SQL Server 2025 database. It looks like this for the dbo.Customer table:
CustomerID CustomerName PreferredName 1 Steve Steve 2 Andy Andy 3 Brian Brian 4 Allan Allan 5 Devin Devin 6 Steve Steve 7 Sally SallyI want to detect which names have a single trailing space. The CustomerName is a varchar() and the PreferredName is a CHAR(). Does this query detect the problem rows?
SELECT
CustomerID,
CustomerName,
PreferredName
FROM Customer
WHERE CustomerName <> RTRIM(CustomerName)
OR PreferredName <> RTRIM(PreferredName); See possible answers