Identity Values – Two things to know
I saw someone post a question recently about running out of identity values in an INT column. It happens, it’s...
2010-01-06
534 reads
I saw someone post a question recently about running out of identity values in an INT column. It happens, it’s...
2010-01-06
534 reads
For the past couple years I’ve been using Community Server for blogging, only because that’s the platform that’s been part...
2010-01-06
1,157 reads
As a part of my DB documentation process for a large database, I needed a method to quickly show me...
2010-01-05
734 reads
This one caught my eye on the Data Mining Forum and it is not the first time that this one...
2010-01-05
2,643 reads
We have a lot of administrative tools for SQLServerCentral that are available online. Most of the work I do can...
2010-01-05
400 reads
I have been reading several blog postings about 2010 goals. First, I want to applaud all of you for setting...
2010-01-05
548 reads
Bill Graziano posted some thoughts about the merits of East Coast vs West Coast placement of the Summit. He did...
2010-01-05
377 reads
Not easy to find yet on the new site, you can find it at http://www.sqlandy.com/feed/.
2010-01-05
318 reads
Posting goals online is great as long as you meet your goals, can be something less than great if you...
2010-01-05
812 reads
In September 1986 my family returned to Beaufort, SC, from a three year tour stationed at MCAS Iwakuni, Japan. My father was...
2010-01-05
664 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