RTCexpert
asked on
TSQL - Length of days between two dates
I have a table that contains dates when the record was created. Using a T-SQL query how would I be able to figure out how many days have passed since that record was created. For example GETDATE() - RecordCreatedDate = Number of Days.
Any help is appreciated. Thanks!
Any help is appreciated. Thanks!
dateadd(d, recordcreated,getdate())
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.