SQL Code Guard - Developer build: just as planned
Well, not exactly just as planned, but at last!
Few minor fixes
[*] fixed unparsed with CONTAINS condition[*] fixed xtra "ST010 Use...
2015-06-24
631 reads
Well, not exactly just as planned, but at last!
Few minor fixes
[*] fixed unparsed with CONTAINS condition[*] fixed xtra "ST010 Use...
2015-06-24
631 reads
XML is a beast if you’ve never tackled it. Here are some simple examples of what I discovered as I...
2015-06-24
297 reads
Leveraging SQL Server Database Schema
Data warehouses typically pull data from various sources and combine the data into a common repository....
2015-06-24
689 reads
This past week I finally completed the 70-458 exam to upgrade my certification to MSCA: SQL Server 2012. I never...
2015-06-24
736 reads
Thank you all for attending my MSSQLTipswebinar today with Sumeet Bansal from Tegile Systems! In the presentation, I made reference to...
2015-06-23
626 reads
Last week, Redgate Software had a large company meeting and our annual Day Out, with myself and a few dozen...
2015-06-23
709 reads
I’ll be doing a precon for SQLSaturday #421 in Columbus Ohio on July 10th, 2015 titled “Planning a High Availability and Disaster...
2015-06-23
424 reads
Published last week on SQLServerCentral, Sweat Files and Practice Projects is about the need/lack of packaged projects that a newbie...
2015-06-23
343 reads
[read this post on Mr. Fox SQL blog] Its time to take a well deserved 1/2 time break in my 8 part post series on SQL Partitioning and so I have...
2015-06-22
12 reads
[read this post on Mr. Fox SQL blog]
Its time to take a well deserved 1/2 time break in my 8 part post...
2015-06-22
961 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