Ticket #2048: Trac_2048.sql
| File Trac_2048.sql, 389 bytes (added by , 6 years ago) |
|---|
| Line | |
|---|---|
| 1 | USE training2 |
| 2 | |
| 3 | UPDATE |
| 4 | cooperator |
| 5 | SET |
| 6 | status_code = 'INACTIVE', |
| 7 | modified_by = 48, |
| 8 | modified_date = GETDATE() |
| 9 | WHERE |
| 10 | status_code IN ('HISTORICAL','DECEASED') |
| 11 | |
| 12 | UPDATE code_value_lang |
| 13 | SET |
| 14 | description = 'Cooperator is no longer active (e.g. retired, changed positions, deceased or historic)', |
| 15 | modified_by = 48, |
| 16 | modified_date = GETDATE() |
| 17 | WHERE |
| 18 | code_value_lang_id = 5300 |
