My SQL Server Service Account Philosophy
Recently someone sent me a question about service accounts. They weren’t sure how they should go about setting accounts up...
2015-07-23
554 reads
Recently someone sent me a question about service accounts. They weren’t sure how they should go about setting accounts up...
2015-07-23
554 reads
It may happen so that you don`t know the password of sa user for SQL Server you inherited from somebody....
2015-07-31 (first published: 2015-07-23)
4,806 reads
One of the things I enjoy about the SQL community is the many people that you come into contact with....
2015-07-23
205 reads
One of the things I enjoy about the SQL community is the many people that you come into contact with....
2015-07-27 (first published: 2015-07-23)
418 reads
Originally appearing at ForITPros.com. Henry Ford is reported to have once said, “Whether you think you can or think you can’t – you’re right.” That’s great insight. Too often...
2015-07-23
26 reads
SQLKover update:1.5 year later, I still stand by my position: Star Schema The Complete Reference is the best book on...
2015-07-30 (first published: 2015-07-23)
2,213 reads
Coming this Saturday, upstate rules, the official capitol of New York State is #SQLSat386, in Albany! Check out their event...
2015-07-23
1,068 reads
Microsoft has announced that The SQL Server 2016 Upgrade Advisor Preview and SQL Server 2016 Community Technology Preview (CTP) 2.2 are...
2015-07-23
1,108 reads
In SQL Server 2014 a new feature In-Memory OLTP was introduced which was referred as ‘Hekaton’. This feature was introduced...
2015-07-23
765 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-31 (first published: 2015-07-22)
1,614 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