1SELECT 'Simple quote''' FROM dual; -- Simple quote'
2SELECT '''Simple quote''' FROM dual; -- 'Simple quote'
3SELECT q'['Simple quote']' from dual; -- 'Simple quote' q'[my_string]'
4
5s_date VARCHAR2(10 BYTE) := '12/02/2021';
6EXECUTE IMMEDIATE 'SELECT to_date(''' || s_date || ''', ''DD/MM/YYYY'') FROM dual';