Skip to content

Commit

Permalink
Merge pull request #312 from bcgov/Grad2-2856
Browse files Browse the repository at this point in the history
Grad2-2856
  • Loading branch information
arybakov-cgi authored Jul 23, 2024
2 parents 4aec867 + 719fdc0 commit b0038c5
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE LETTER_GRADE ADD EFFECTIVE_DATE DATE DEFAULT TO_DATE('2024-07-01', 'YYYY-MM-DD') NOT NULL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='A';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='B';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='C+';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='C';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='C-';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='F';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='I';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'2006-09-01 00:00:00.0'
WHERE LETTER_GRADE='NM';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0', EXPIRY_DATE=TIMESTAMP'1994-08-31 00:00:00.0'
WHERE LETTER_GRADE='P';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'2007-09-01 00:00:00.0', EXPIRY_DATE=TIMESTAMP'2021-07-31 00:00:00.0'
WHERE LETTER_GRADE='RM';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='SG';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='TS';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0'
WHERE LETTER_GRADE='W';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1940-01-01 00:00:00.0', EXPIRY_DATE=TIMESTAMP'1994-08-31 00:00:00.0'
WHERE LETTER_GRADE='WF';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'2007-09-01 00:00:00.0'
WHERE LETTER_GRADE='WR';

UPDATE LETTER_GRADE
SET UPDATE_USER='API_STUDENT_GRADUATION' , UPDATE_DATE=SYSTIMESTAMP , EFFECTIVE_DATE=TIMESTAMP'1994-09-01 00:00:00.0', EXPIRY_DATE=TIMESTAMP'1997-08-31 00:00:00.0'
WHERE LETTER_GRADE='IP';

0 comments on commit b0038c5

Please sign in to comment.