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 We can achieve it by using functions like LEN & DATALENGTH : However, in Snowflake, we can use two functions, LENGTH & RTRIMMED_LENGTH, as below: For more details, refer to LENGTH & RTRIMMED_LENGTH . Yogesh Shinde LinkedInProfile <<< Back Next >>>