SSRS Error: Cannot read the next data row for dataset Dataset1
This error , Cannot read the next data row for dataset Dataset1, is thrown for many reasons, at least I have seen...
2011-06-15
5,549 reads
This error , Cannot read the next data row for dataset Dataset1, is thrown for many reasons, at least I have seen...
2011-06-15
5,549 reads
From time to time I get asked about how PASS Board members are compensated, so I thought it would make...
2011-06-15
699 reads
Ever looked at an execution plan? If you answered no, you can’t possibly have ever tried to tune a query,...
2011-06-15
4,975 reads
The emails came in today and 2 out of 4 of my sessions were selected. Both are the ones I...
2011-06-15
895 reads
Relation Types
create type type_T(i int primary key clustered, j int check (j > 0)) -- relation type. Includes constraints!
create table T(type_T)
Relvar Assignment
This...
2011-06-15
977 reads
After posting on twitter last week that I needed something to write a blog post about my good friend Christian...
2011-06-15
685 reads
All ColoradoSQL user group meetings start at 5:30 and provide food and refreshments. There is no cost to attend so...
2011-06-15
916 reads
Update:
After all of this SMO stuff failed (changing the permission set to unsafe got around the security exception, but instead...
2011-06-15
1,505 reads
A small post regarding a couple SQL books I bought from Amazon.
A couple new books arrived in the mail from...
2011-06-15
866 reads
Wow, what a day 2! This was our first day of lecture and it was a doozy. Stacia and I...
2011-06-14
863 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....
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