SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table t(c varchar(100), cl clob); select case when c = '1' then 11 else '22' end from t; select case when c = '1' then cast(11 as varchar(100)) else '22' end from t; select 1 || '123' from dual; create or replace procedure a as _doc clob := ''; _where clob := ''; BEGIN _doc := case when length(_where) > 0 then 'where' || substr(_where, 5, length(_where) - 4) else '' end; END;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear