Converting SQL Backup Files to MTF
I got a copy of some backup files recently and needed to restore them. However, I don’t have SQL Backup...
2016-03-08
1,366 reads
I got a copy of some backup files recently and needed to restore them. However, I don’t have SQL Backup...
2016-03-08
1,366 reads
Well yesterday was a big day in the SQL Community, Microsoft announced that they will be developing a version of SQL Server for Linux. Check out the announcement here.
Image...
2016-03-08
6 reads
Well yesterday was a big day in the SQL Community, Microsoft announced that they will be developing a version of...
2016-03-08
1,768 reads
Yes, you read that right. SQL Server will be ported to Linux. Here’s the Blog post from Scott Guthrie.
http://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
Today I’m...
2016-03-08
497 reads
It’s T-SQL Tuesday time again (Number 76!) and this month we are hosted by Bob Pusateri (b/t) who has invited...
2016-03-08
1,167 reads
Yesterday Microsoft made the earth shattering news that a version of SQL Server with the “core relational database capabilities” will be...
2016-03-08
424 reads
A few weeks ago I met a couple of my business partners in a moderately upscale restaurant in the Washington,...
2016-03-08
394 reads
Yes, you read that right. SQL Server will be ported to Linux. Here’s the Blog post from Scott Guthrie.
http://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
Today I’m...
2016-03-08
152 reads
When I started working with SQL Server many years ago, SQL Server on Linux was a regular April fool’s day...
2016-03-08
521 reads
Continuation from the previous 78 parts, the whole series can be found at http://www.nikoport.com/columnstore/.
Update: In SQL Server 2016 the Nonclustered...
2016-03-07
576 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