Last active
January 4, 2022 23:16
-
-
Save vipassanaecon/a0b70472ef80f961ee0288d3abe20de6 to your computer and use it in GitHub Desktop.
Update example script 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Update example script 3 (final) | |
update region_table | |
set isopen = 'Y' | |
, isavailable = 'N' | |
, isrestricted = 'Y' | |
, user_last_modified = 'user_migration' | |
, date_last_modified = sysdate | |
where state_plan_id = ( | |
select table_id | |
from state_table st | |
where st.table_code = 'NY' | |
) | |
and table_function_id = ( | |
select table_function_id | |
from table_function tf | |
join table_area ta on tf.table_area_id = ta.table_area_id | |
where ta.table_area_name = 'Production' | |
and tf.table_function_name = 'Production Utility Demo' | |
) | |
and region_name = 'New York East District'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment