The requirement of data refactoring is very common and vital in data mining operations. In the previous article, you’ll learn the tips for getting started with SQL string functions, including the SQL substring function for data munging with SQL Server. As we all agree that the data stored in one form sometimes require a transformation, we’ll take a look at some common functions or tasks for changing the case of a string, converting a value into a different type, trimming a value, and replacing a particular string in a field and so on.
After reading this article, you’ll understand more about:
SQL String functions Understand the SQL Server SUBSTRING function How to handle data using the SUBSTRING SQL function How to use the SQL Server SUBSTRING function in the where clause How to dynamically locate the starting and end character position in the SQL Server SUBSTRING function How to work with date-time string using the SQL Server SUBSTRING function How to Create a simple sub-select using the T-SQL SUBSTRING function And more…further reading…
SQL Substring