Operation Details |
Description: | reads activities for organization of specified user in dates and times range |
Sterotype: | nsmulti |
SQL |
SELECT activityID, subject, startDateTime, endDateTime, Activity.locationID, locationName, priorityCode, allDayInd, timeStatusCode, notes, recordStatusCode INTO :activityID, :subject, :startDateTime, :endDateTime, :locationID, :locationName, :priorityCode, :allDayInd, :timeStatusCode, :notes, :recordStatusCode FROM Users, Activity WHERE ( Activity.organisationID = :organisationID AND Users.userName = :userName AND startDateTime < :endDateTime AND endDateTime >= :startDateTime ) |