I have two columns with timestamp. I am trying to find the difference in only DAYS ignoring the hours & minutes.
I am using SQL in Snowflake.
Ex :- I have both column values as following
Column1 value = 07-DEC-16 11.05.24.500000000
Column2 value = 08-DEC-16 03.12.06.874000000
I would like to subtract the two columns for DAYS only, in this example since Dec 8-Dec 7 =1