Two Types of Tail Log Backups
In a recent thread I noted that a tail log backup is essentially a regular log backup, but made with...
2011-08-10
4,160 reads
In a recent thread I noted that a tail log backup is essentially a regular log backup, but made with...
2011-08-10
4,160 reads
T-SQL Tuesday #21 - A Day Late and Totally Full of It
Holy Crap! What in the world are we talking about...
2011-08-10
1,867 reads
Ok, I have two admissions that I must bare to the world in this post. The first is that I’ve...
2011-08-10
704 reads
Ok, I have two admissions that I must bare to the world in this post. The first is that I’ve...
2011-08-10
1,273 reads
First of all if you came out to my webinar this morning let me say a huge thank you! I...
2011-08-10
649 reads
Today's day was Jonathan Kehayias days, and it was pretty impressive. Jonathan covered
the following 3 modules, and he can speak...
2011-08-10
1,057 reads
There are a few posts and articles around the security-scape lately concluding Windows 7 is more secure than OS X,...
2011-08-09
820 reads
If you need to setup a Central Management Server or just want to check it out, then here is how...
2011-08-09
977 reads
Coming to the PASS Summit in October this year? Excellent!
I say excellent, because Grant (blog|twitter) and I are presenting a...
2011-08-09
781 reads
Last month I published an update to my Foreign Key Hierarchy script. Today, I am providing a new update for that script. A friend (Rémi Grégoire) helped out with...
2011-08-09
18 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...
WhatsApp CS 628218520154 Jl. Suryopranoto No.40, RT.12/RW.7, Petojo Utara, Kecamatan Gambir, Kota Jakarta Pusat,...
WhatsApp CS 628218520154 Jl. Pegangsaan Timur No.1, Cikini, Kec. Menteng, Kota Jakarta Pusat, Daerah...
WhatsApp CS 628218520154 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru, Kecamatan Sawah...
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