Skip to content

Instantly share code, notes, and snippets.

@PhilippSalvisberg
Created December 25, 2024 10:36
Show Gist options
  • Save PhilippSalvisberg/e535df24d801eb8c14a3dd247c1ed707 to your computer and use it in GitHub Desktop.
Save PhilippSalvisberg/e535df24d801eb8c14a3dd247c1ed707 to your computer and use it in GitHub Desktop.
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