Snowflake Vs MS-SQL - Part 88 - Count of non-NULL records of the column using ILIKE


Count of non-NULL records of the column using ILIKE

If you want to get the Count of non-NULL records of the column.

MS-SQL Server 

We can achieve it as follows:



In Snowflakewe can use a similar approach as above; however, we can use ILIKE as follows:




For more details, refer to the ILIKE section.


Yogesh Shinde

LinkedInProfile

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 70 - UNION By Name

Snowflake Vs MS-SQL - Part 68 - Multi Table Insert