BYO Time Zone Conversion With SSAS DMVs
This is just a quick note (since I apparently forgot and was puzzled for a moment) that the MDSCHEMA_CUBES DMV...
2016-09-21
498 reads
This is just a quick note (since I apparently forgot and was puzzled for a moment) that the MDSCHEMA_CUBES DMV...
2016-09-21
498 reads
Welcome back to another episode of This Week In Data! If you missed our previous episodes, you can watch them...
2016-09-21
593 reads
This is the 4th post in the series named SQL Server and Continuous Integration. The first 3 posts covered the need...
2016-10-03 (first published: 2016-09-21)
1,360 reads
In my role as a Data Platform Solution Architect (DPSA) at Microsoft, part of my responsibility is to keep up with...
2016-09-21
701 reads
Applies to: xSQL Schema Compare v 7.0.0 to v 9.0.0; xSQL Data Compare v 7.0.0 to v 9.0.0
Summary: When adding databases to the workspace both in xSQL Schema Compare...
2016-09-21
20 reads
Applies to: xSQL Schema Compare v 7.0.0 to v 9.0.0; xSQL Data Compare v 7.0.0 to v 9.0.0
Summary: When adding...
2016-09-21
343 reads
As we discussed on earlier blog that in future its more than SQL-(R)DBMS, as data is growing we have to...
2016-09-21
431 reads
A while back I wrote a post on everything I knew about identity columns. In it I mentioned the following:
Negative...
2016-10-03 (first published: 2016-09-21)
2,073 reads
In this post am going to attempt to explore a statistical procedure called ‘One Sample T Test’.
A T-Test is used...
2016-09-30 (first published: 2016-09-21)
1,954 reads
This article is for those who have no idea about Sql and I will be giving them a start point...
2016-09-21
449 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...
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
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