Snowflake Vs MS-SQL - Part 75 - String Length and Trimmed Length
String Length and Trimmed Length
Suppose you want to calculate the length of a string that contains trailing spaces.
MS-SQL Server
However, in Snowflake, we can use two functions, LENGTH & RTRIMMED_LENGTH, as below:
For more details, refer to LENGTH & RTRIMMED_LENGTH.
Comments
Post a Comment