Daily Shaarli

All links of one day in a single page.

September 15, 2023

Find Tuya Data Points | Zigbee2MQTT
Oracle: Fastest Way to Extract Filename Extension Using SQL or PL/SQL - Stack Overflow
thumbnail

select s,
substr(s, nullif( instr(s,'.', -1) +1, 1) )
from (
select 'no_extension_should_return_null' s from dual union
select 'another.test.1' from dual union
select 'another.test.doc' from dual union
select 'another.test.docx' from dual union
select 'another.test.stupidlng' from dual
)