Energy Update - Wind Power Picking Up
It must be picking up again, despite the lack of a sharp rise in energy prices, I am seeing more...
2009-12-13
456 reads
It must be picking up again, despite the lack of a sharp rise in energy prices, I am seeing more...
2009-12-13
456 reads
Thanks to everyone who attended my TechNet Thrive! and Nashville SQL Server User Group presentations this week! I hope it...
2009-12-11
417 reads
Here is a collection of five stored procedures that are very useful for monitoring the overall health of a SQL...
2009-12-11
1,164 reads
SQL Lunch # 5 – Looping Logic in SSIS
Speaker:Tim Mitchell
Topic:Looping Logic in SSIS
Meeting URL:JOIN MEETING
ADD TO OUTLOOK CALENDAR
Description:
Software developers have long taken...
2009-12-11
1,001 reads
In part one of this post I showed how you can use a report to run SQL Server Agent Jobs by...
2009-12-11
1,884 reads
Running SSIS on a 64-bit machine has several caveat that developers need to be aware of. Tasks like the ActiveX...
2009-12-11
525 reads
This is an answer to a forum question on www.bidn.com
Running SSIS on a 64-bit machine has several caveat that developers...
2009-12-11
4,762 reads
Assuming no major problems at work, I’m heading to the South side of town the afternoon of Dec 14, 2009...
2009-12-11
393 reads
Often when designing a report you may find a need to concatenate values in an expression. For example, you want...
2009-12-11
1,394 reads
With the explosion of Netbooks, it has become important to find new ways to load operating systems. I recently picked...
2009-12-11
323 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