I am rather new to SQL and I am having a problem with a date calculation.
This is the formula that I am using:
GETDATE () - Received_Date as AGE
What I am looking for is the number of days between the two.
I know that GETDATE uses the system date, and the system date is correct but in looking at the result it gives a date of 1/5/1900.
I can not figure out what I am doing, can someone help me.
This is the formula that I am using:
GETDATE () - Received_Date as AGE
What I am looking for is the number of days between the two.
I know that GETDATE uses the system date, and the system date is correct but in looking at the result it gives a date of 1/5/1900.
I can not figure out what I am doing, can someone help me.