Building Flat File Connectors Dynamically For SSIS
Building Connectors Is Crap in SSIS – Updated
What else can I say. I finally broke when I had to build a...
2013-07-10
1,948 reads
Building Connectors Is Crap in SSIS – Updated
What else can I say. I finally broke when I had to build a...
2013-07-10
1,948 reads
As I mentioned in the introductory post, during the Introduction to SQL Server Security session for Pragmatic Work’sTraining on the T’s, I...
2013-07-10
1,672 reads
I ran into this with a client last night when trying to restore their SQL Server data warehouse database from...
2013-07-10
2,503 reads
Columnstore index is the new type of index introduced in SQL Server 2012. It is a column based non-clustered index...
2013-07-10
833 reads
As I mentioned in the introductory post, during the Introduction to SQL Server Security session for Pragmatic Work’sTraining on the T’s, I...
2013-07-10
602 reads
Back when I was trying to start a business and unknowingly heading towards a economic cliff, I read all sorts...
2013-07-10
594 reads
Sometimes you detach databases, or you delete a database which is in restoring status, the data and log file will...
2013-07-09
2,366 reads
Multi Server script to find OS and Memory details. It doesn’t require a text file as its input but you...
2013-07-09
915 reads
Next week I’ll be doing a new presentation about PCI compliance – aka dealing with credit cards – online (follow this link...
2013-07-09
534 reads
As I mentioned in the introductory post, during the Introduction to SQL Server Security session for Pragmatic Work’sTraining on the T’s, I...
2013-07-09
754 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