Workaround Primary Key Violations in SSIS
Before you get much further, please do not use this for every case where you have issues with duplicate rows....
2008-11-26
1,524 reads
Before you get much further, please do not use this for every case where you have issues with duplicate rows....
2008-11-26
1,524 reads
I saw this post about a recent panel that tried to come up with guidelines for airlines as far as...
2008-11-25
1,398 reads
My goal of 400 posts a month has been in jeopardy with all the traveling I've been doing over the...
2008-11-25
1,486 reads
Saw a post from Michael Miller that PC Magazine will end it's print version with the January issue. Have to...
2008-11-25
1,544 reads
One of those old sayings that has a grain or two of truth to it. Stocks, real estate, education even,...
2008-11-25
1,564 reads
I heard during last week that the 2009 PASS Community Summit will be back in Seattle, on Nov 3-6 next...
2008-11-25
1,571 reads
It's fun to read good work, and my friend Kendal Van Dyke recently posted How CommitBatchSize And CommitBatchThreshold Affect Replication....
2008-11-24
1,419 reads
After 2 years working on a data conversion and software implementation project, I’ve finally started to get caught up on...
2008-11-24
1,679 reads
I definitely need to write up a few summaries about last week, but right now I'm a bit buried with...
2008-11-24
1,590 reads
So now that PASS is over and life is getting back to normal I thought it would share my final...
2008-11-24
1,601 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