PowerShell ISE Crashes
Working with PowerShell brings a lot of advantages and power to help manage a server. The more current your PoSh...
2018-11-19
576 reads
Working with PowerShell brings a lot of advantages and power to help manage a server. The more current your PoSh...
2018-11-19
576 reads
Working with PowerShell brings a lot of advantages and power to help manage a server. The more current your PoSh version, the more efficiently you will be able to...
2018-11-19
26 reads
I am proud to contribute to this year’s Live360 conference, to be held in Orlando Florida at the Royal Pacific...
2018-11-19
172 reads
This is November and T-SQL Tuesday time,
I hope you are ready to read the summary – I am the host and...
2018-11-19
188 reads
DevOps is the way of the future – but not all executives understand that yet DevOps practices are powerful tools to build productive, engaged teams who constantly learn and...
2018-11-19
27 reads
No, you don’t need a blockchain Thomas LaRock (T) says: “Don’t buy a blockchain solution unless you know for certain...
2018-11-18
220 reads
Deploy Machine Learning code with SQL Server
2018-11-18
28 reads
SQL Server is undoubtedly a popular way to manage database. Due to its efficiency, business organizations largely depend on this for data management. This dependency often causes performance bottlenecks...
2018-11-17
67 reads
SQL Server is undoubtedly a popular way to manage database. Due to its efficiency, business organizations largely depend on this...
2018-11-17
16,620 reads
Here are some basic guidelines that are good to consider when writing T-SQL (Transact SQL). These tips and hints are aimed for the beginner-level T-SQL developers. Always Use a...
2018-11-17
42 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