Time to give the data a TRIM()

For years, when it came to getting rid of the spaces at the beginning/end of a string, you were stuck with using the functions LTRIM and RTRIM – meaning left trim and right trim respectively. For many versions of SQL Server – and probably quite often even in code written today – you will see…… Continue reading Time to give the data a TRIM()

Published
Categorized as SQLBasics

Ways to Contrast Data

As you have probably determined, with blog posts like these: Ways to Compare DataDifferent Way to Compare Data You know when the word compare is used, sooner or later the opposite is going to be used. Yes, folks – this week we are going to be talking about contrasting data. SELECT * FROM dbo.Person1 EXCEPT…… Continue reading Ways to Contrast Data