IP
edf16a61-31b4-4886-8672-ef728ddb21c4
Northshore Senior Services
edf16a61-31b4-4886-8672-ef728ddb21c4
Customer
Survey Link has been copied to your clipboard
Survey(s)
Training Notes
9/14/20
Trainer:
Bill H
Training Type:
General Q&A
Next Training Date:
Next Training Type:
SEE NOTES
Northshore Senior Services
This ended up being a general Q & A. They want me to re-import their data as a lot has changed since the initial import. Eric will be sending new data sometime this week. I'll be setting up MAC for them as well. We will most likely need to do another session once the new data is imported.
Call Logs
General Notes
Tasks
Center Specific SQL
Heading 6
WA_Bothell_RSVP_55+_Volunteers
Created By:
Billy J
Created On:
8/8/22
use WEB_WA_BOTHELLWEB;
/*
Tim requested this report which they then toss into a pivot table
Sums the total hours per person per volunteer category over the date range
*/
DECLARE @StartDate DATE = '7/1/2022',
@EndDate DATE = '7/31/2022';
SELECT
-- Name
--CONCAT_WS(' ', Seniors_FirstName, Seniors_LastName) AS [Full Name],
CONCAT_WS(', ', Seniors_LastName, Seniors_FirstName) [Volunteer Name],
--(0 + Convert(Char(8),GETDATE(),112) - Convert(CHAR(8),Seniors_DOB,112)) / 10000 AS [Age],
--FORMAT(Staff_CheckinHours_Date, 'd') AS [Date],
ISNULL(Staff_Hours_Name, '*Category Deleted*') AS [Volunteer Category],
--ROUND(CAST(Staff_CheckinHours_Hours/60 as float),2) as [Hours]
SUM(ROUND(CAST(Staff_CheckinHours_Hours / 60 as float), 2)) as [Hours]
FROM Staff_CheckinHours
LEFT JOIN Staff_Categories_Hours ON Staff_CheckinHours_CategoryID = Staff_Hours_ID
LEFT JOIN Seniors ON Seniors_PersonID = Staff_CheckinHours_PersonID
WHERE Staff_CheckinHours_Date BETWEEN @StartDate AND @EndDate
AND ((0 + Convert(Char(8), GETDATE(), 112) - Convert(CHAR(8), Seniors_DOB, 112)) / 10000) >= 55
GROUP BY CONCAT_WS(', ', Seniors_LastName, Seniors_FirstName), Staff_Hours_Name
ORDER BY
--Staff_CheckinHours_Date,
--[Full Name]
[Volunteer Name],
[Volunteer Category]
;
MySeniorCenter
Employees Only
If you are seeing this page you are either not authorized or your IP address has changed
Your Current IP Address is 23.23.59.232. Please send this to bill@myseniorcenter.com if you are an employee of MySeniorCenter