BI’s pretty boy goes down!
It?s never easy to beat up on a friend. Sometimes they have it coming though!.
The Webinar smackdown is over....
2011-10-03
785 reads
It?s never easy to beat up on a friend. Sometimes they have it coming though!.
The Webinar smackdown is over....
2011-10-03
785 reads
Happy October!
Last month I announced a cool new SQL challenge to simply share your SQL Server Performance story with us,...
2011-10-03
709 reads
No, I’m not talking about hubs and switches. I’m talking about people. Networking is a major component of an event...
2011-10-03
1,154 reads
It’s the first Monday of the October and it’s time to do a monthly checkup. If you are like me,...
2011-10-03
585 reads
When you create a SQL Server login (with SQL authentication), you have the option of enforcing password policies from Windows...
2011-10-03
6,227 reads
SQL Bits was great
It’s been two years or more that I’ve been invited to SQL Bits. Not by email, but...
2011-10-03
1,268 reads
Marking a stored procedure as system object allows to run the procedure in a user database context. There are two...
2011-10-03
2,729 reads
According to BOL , a database in SUSPECT state is : “At least the primary filegroup is suspect and may be damaged....
2011-10-03
1,217 reads
SSIS packages are great ETL tools and can do just about anything you need in terms of ETL. Most organizations...
2011-10-03
1,276 reads
In our day-to-day activities, browsing the web is one of the most important aspects of our job. Whether researching for...
2011-10-03
817 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