Create stub tSQLt tests in SSDT from stored procedures
I have released another tool as part of the ssdt dev pack, what this does is create tSQLt classes and...
2015-11-17
33 reads
I have released another tool as part of the ssdt dev pack, what this does is create tSQLt classes and...
2015-11-17
33 reads
I have released another tool as part of the ssdt dev pack, what this does is create tSQLt classes and...
2015-11-17
36 reads
Photo Credit – Mario KlingemannMicrosoft’s Analytic Platform System (APS) has been a favorite platform of mine over the last few years....
2015-11-20 (first published: 2015-11-17)
1,768 reads
I am always looking for ways to get involved within the PASS community. One such way that has become available...
2015-11-17
487 reads
This is the second in a short series on transactions. In the previous part I discussed nested transactions and showed...
2015-11-20 (first published: 2015-11-17)
3,416 reads
UPDATED - May 16, 2017 - Please review the updated code here.
In my previous post, Configuring the Azure SQL Database Firewall, I discussed...
2015-11-19 (first published: 2015-11-17)
2,540 reads
It has been a decade since I have blogged. Or at least it feels like it. Today I would like...
2015-11-19 (first published: 2015-11-17)
4,583 reads
Client Statistics is SQL Server data tool which is very helpful in determining the statistics that how much data received...
2015-11-17
498 reads
The people at Webucator were kind enough to make a video based on my article on dealing with SQL Server...
2015-11-17
409 reads
Enable 32 bit Applications Azure Cloud Service Hosting automation
Sometime dll issues occured on IIS based on 32-bit or 64-bit dlls.Error...
2015-11-17
1,400 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...
WhatsApp CS 628218520154 Jl. Suryopranoto No.40, RT.12/RW.7, Petojo Utara, Kecamatan Gambir, Kota Jakarta Pusat,...
WhatsApp CS 628218520154 Jl. Pegangsaan Timur No.1, Cikini, Kec. Menteng, Kota Jakarta Pusat, Daerah...
WhatsApp CS 628218520154 Jl. Pintu Air Raya No.36 Q, RT.6/RW.1, Ps. Baru, Kecamatan Sawah...
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