Use Connections Properly in an SSIS Script Task
There are lots of scenarios in SSIS where you'd want to use a connection within a Script Task. Unfortunately, the closest help documentation - the comments inside the Script...
2011-05-31
2,785 reads
There are lots of scenarios in SSIS where you'd want to use a connection within a Script Task. Unfortunately, the closest help documentation - the comments inside the Script...
2011-05-31
2,785 reads
I love the identity property. I use it in many of my tables, mostly because it gives me a fairly...
2011-05-31
2,446 reads
Security is an important consideration when designing a database application. Who can get access to what data? How much damage...
2011-05-31
2,139 reads
The topic came up at work awhile back with using various includes/excludes such as IN, NOT IN, and EXISTS. A...
2011-05-31
1,385 reads
On June 1st GITCA will run a 24 hour round-the-world virtual event focusing on Cloud Computing. Please visit http://sp.GITCA.org/sites/24Hours for...
2011-05-31
1,594 reads
There are lots of scenarios in SSIS where you'd want to use a connection within a Script Task. Unfortunately, the...
2011-05-31
25,957 reads
Introduction
We have always
been wondering on how to protect/secure our t-sql code written in Stored
Procedures and UDF in shared hosting environment...
2011-05-31
13,229 reads
What are the most influential papers in the world of Big Data? Let me suggest:...
2011-05-30
44 reads
What are the most influential papers in the world of Big Data? Let me suggest: http://bit.ly/BigData1 We face a data management problem: IDC 2010 Digital Unverse Study http://bit.ly/BigData2...
2011-05-30
45 reads
These are five rules for writing from Ernest Hemingway, which I like and recommend for use in your communications. Definitely...
2011-05-30
1,750 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