How to Configure E-mail in SQL Server Step by Step–TIP #96
For different reason we need to send database report , data and other SQL Server database related stuff using E-mail . SQL ...
2015-04-21
637 reads
For different reason we need to send database report , data and other SQL Server database related stuff using E-mail . SQL ...
2015-04-21
637 reads
Although , It is out of box but I would like to share here. I am very choosy in food. When...
2015-04-16
565 reads
SET XACT_ABORT is one of the hidden gem we can say. It is helpful in many ways.
Let me explain by...
2015-04-14 (first published: 2015-04-04)
8,177 reads
Hello friends,
Many times we face space issues with our database. To resolve this problem SQL Server 2005 provided one more...
2015-03-23
790 reads
In last post TIP #91 we talked about What is Data compression ? What are the features ? Now in this tip...
2015-03-11
633 reads
SQL Server is a uniquely designed Relational Database Management System developed by Microsoft. Its basic functionalities include storing, manipulating and...
2015-03-09
736 reads
A part from performance many times we faced challenges related to space of our database. Sometimes our database is actually...
2015-03-08
659 reads
When we heard “Kill” then first impression of this word is very bad. We always scare with this word.
In...
2015-03-03
669 reads
Dear Friends,
In my last article (TIP 87) I wrote about PWDENCRYPT. I forgot to write few details but thanks to...
2015-02-28
1,268 reads
I the last tip TIP#88 we saw how to encrypt a password. Now in this tip I would like to...
2015-02-25
951 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