/apex-array-to-json-array.sql Secret
Created
July 20, 2022 02:26
APEX配列からJSON配列への変換
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
declare | |
l_json_array json_array_t := new json_array_t(); | |
l_apex_array apex_t_varchar2; | |
begin | |
l_apex_array := apex_string.split(:P3_SKILLS,':'); | |
for i in 1..l_apex_array.count | |
loop | |
l_json_array.append(l_apex_array(i)); | |
end loop; | |
:P3_SKILLS := l_json_array.to_string; | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment