Snowflake Vs MS-SQL - Part 96 - Row Last Updated - ROW_TIMESTAMP


Row Last Updated - ROW_TIMESTAMP

Many times, you have to find out when the record was updated last time

MS-SQL Server

We need to create a column in a table, like modified_date, which will store the value of datetime:



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




For more details, refer to the ROW_TIMESTAMP section.

 

Comments

Popular posts from this blog

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

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

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