PCI Encryption
It surprises me how often I see people posting questions about what type of encryption to implement for credit card...
2009-12-07
780 reads
It surprises me how often I see people posting questions about what type of encryption to implement for credit card...
2009-12-07
780 reads
I am a pretty frequent traveler, as you would imagine. Running a consulting company, and being on it's principals assets...
2009-12-07
472 reads
Hey there gang. I, like many of you, am very excited about the new betas for the 2010 product stack...
2009-12-07
347 reads
I recently attended Code Camp in Tampa and I want to thank everyone who made a SQL guy feel so...
2009-12-07
331 reads
I recently was working with a client and as sometimes happens, I could not get on their network. Not a...
2009-12-07
619 reads
This is part four in the series of blog posts that will help in building a library of calculations you...
2009-12-07
2,817 reads
I spend this weekend playing with transaction replication and try to set it up so that I don't have to...
2009-12-06
1,072 reads
Stored Procedure:-Stored Procedure In Sql server can be defined as the set of logically group of sql statement which are...
2009-12-05
1,509 reads
2010 is beginning to look like a great year for SQLSaturday events this year. Already, there are nine planned, and...
2009-12-05
419 reads
Devenius Software is offering a free tool to help you manage SQL Server encryption keys. Its called the SQL Encryption...
2009-12-05
558 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