I've got 2 date columns in my table (start_date, end_date)
.
I've tried Datediff(day, start_date, end_date)
, but I was prompt with:
invalid column name
How can I calculate the date difference between these 2 columns?
select DATEDIFF (day,start_date,end_date) from yourtablename;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With