Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small group attendance import #186

Merged
merged 7 commits into from
Mar 2, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add schedule
  • Loading branch information
Ben Wiley committed Mar 2, 2016
commit 737d279da2e31144f53edde656b92a93afba86a3
5 changes: 3 additions & 2 deletions Dev Tools/Sql/NewSpring_17_FuseAttendance.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

/* ====================================================== */

INSERT INTO Attendance (GroupId, StartDateTime, DidAttend, [Guid], CreatedDateTime, ForeignKey, PersonAliasId, CampusId)
INSERT INTO Attendance (GroupId, StartDateTime, DidAttend, [Guid], CreatedDateTime, ForeignKey, PersonAliasId, CampusId, ScheduleId)
SELECT
g.Id,
ga.StartDateTime,
Expand All @@ -14,7 +14,8 @@ SELECT
GETDATE(),
'F1.GroupsAttendance',
pa.Id,
g.CampusId
g.CampusId,
g.ScheduleId
FROM
[CEN-SQLDEV001].[F1].dbo.[GroupsAttendance] ga
JOIN PersonAlias pa ON pa.ForeignId = ga.IndividualID
Expand Down