Database Mail set up in SQL Server 2008
by Abi Chapagai – Saturday, May 08, 2010
I have recently set up database mail in SQL Server 2008 in production SQL...
2010-05-12
37,842 reads
by Abi Chapagai – Saturday, May 08, 2010
I have recently set up database mail in SQL Server 2008 in production SQL...
2010-05-12
37,842 reads
Ever come across a scary error in the SQL Server log when running CHECKDB against your databases. The error looks...
2010-05-12
525 reads
Every day for the next couple of weeks, I aim to highlight one of SQL Server 2008’s new features, simply...
2010-05-12
785 reads
Yesterday I though of doing an audio webcast what all I blog. So started audio webcast, its a series of...
2010-05-12
706 reads
There’s still time to register for the 24 Hours of PASS, a series of 24 one-hour sessions being presented on...
2010-05-12
743 reads
It’s been a couple years since I’ve attended and always found Teched to be a great event, more content than...
2010-05-12
1,229 reads
Using the Report Items Collection in Reporting Services
Sometimes, you may want to do calculations or use some value that has...
2010-05-12
492 reads
Creating a Reporting Services Template
Many companies like to have a consistent look and feel across their applications. Some even make...
2010-05-12
584 reads
Sometimes one may need to see a running number that represents a quantity for a period of time. For example,...
2010-05-12
1,461 reads
This past weekend was SQL Saturday 38 in Jacksonville Florida. It was a great event and the turnout was incredible....
2010-05-12
402 reads
By Steve Jones
Here are the resources for my talk at Day of Data Boston. Slides –...
By Steve Jones
I’ve covered the values in a number of previous posts on the Book of...
By Arun Sirpal
When the evidence names the database, it says so. When it doesn’t, it stops....
WhatsApp CS 628218520153 Jl. Penjernihan I No.23, RT.2/RW.7, Bend. Hilir, Kecamatan Tanah Abang, Kota...
WhatsApp CS 628218520154 Jl. Tanah Abang II No.49 & 51, RT.1/RW.4, Petojo Sel., Kecamatan...
WhatsApp CS 628218520154 Jl. Gn. Sahari No.45, RT.7/RW.5, Gn. Sahari Utara, Kecamatan Sawah Besar,...
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