MSSQLTips.com: How to Audit SysAdmin Logins
One of the first things I tried to do when logon triggers came out with Service Pack 2 of SQL...
2008-11-14
2,595 reads
One of the first things I tried to do when logon triggers came out with Service Pack 2 of SQL...
2008-11-14
2,595 reads
Looks like I'm still in the game! Just received word from Kevin Kline (Past PASS President). Here are the candidates:
Andy...
2008-11-14
1,316 reads
In less than two days I'll be in Seattle for my 6th PASS Summit. I am trying to put all the...
2008-11-14
475 reads
We know for SQL Server default instance, if TCP/IP protocol is used, the default TCP port number is always 1433....
2008-11-13
1,433 reads
I'm using a Goggle blog for another project and overall it works fine, no complaints. I've also switched to using...
2008-11-13
585 reads
I've been asked by a few folks whether or not I'm going to the PASS Summit. The answer is I'm...
2008-11-13
604 reads
Next week is the PASS Summit for 2008 in Seattle and I'm trying to close down the work I need...
2008-11-12
677 reads
We had our meeting on November 11, 2008, with 27 people attending. Our featured speaker was Jessica Moss, SQL MVP...
2008-11-12
543 reads
I hate redoing work. I really try to make sure that I pay attention to what I'm doing, slow down...
2008-11-12
676 reads
Just heard back from Allen White, due to his schedule and minimal success creating a true team effort plans for...
2008-11-12
548 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