SQL Server PATINDEX
SQL Server PATINDEX function is a string function that returns the starting position of the first occurrence of a pattern in a specified expression.
![]()
SQL Server PATINDEX function is a string function that returns the starting position of the first occurrence of a pattern in a specified expression.
![]()
SQL SPACE() is a string function that replicates the number blanks that we want add to the given string.
Syntax
SPACE(number)
![]()