I have a spreadsheet with columns of data that need multiple match criteria to merge (using FeatureMerger) with SQL DB records, then within the spreadsheet, there are 2 columns for Start and End Date ranges, and within the DB records is a specified date/time. What would be the best way to merge the Features from both sources, matching the other criteria as an exact match, but matching the date to a range?
Solved
Merging Features with Date Ranges
Best answer by ebygomm
@jmhomza
The query should be structured something like this, make sure your dates are already formatted correctly
SELECT DateOfServiceEnd, DateOfServiceStart, Enrollment_FirstName, SQL.Service
FROM Excel, SQL
where SQL.FirstName=Excel.Enrollment_FirstName
AND SQL.Service=Excel.Service
AND SQL.DateOfService BETWEEN Excel.DateOfServiceStart AND Excel.DateOfServiceEnd
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.



