Created
December 25, 2024 10:36
-
-
Save PhilippSalvisberg/e535df24d801eb8c14a3dd247c1ed707 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
drop table if exists t; | |
create table t (data json(object)); | |
declare | |
x varchar2(40 byte) := '{ "greet": "merry x-mas" , "to": "all" }'; | |
begin | |
insert into t values (x); | |
end; | |
/ | |
declare | |
x varchar2(20 byte) := '{xmas:[1,2,3,4,5,6]}'; | |
begin | |
insert into t values (x); | |
end; | |
/ | |
select length(data) from t; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment