Open phartenfeller opened 2 years ago
I found two small errors in your pl/sql code:
1.
type driver_tab is a table of driver_info index by varchar2(255);
should be type driver_tab is table of driver_info index by varchar2(255);
2.
first the key is not verstappens but verstappen.
and if l_driver_tab.exists('verstappens') is not null then
will always return true. should be if l_driver_tab.exists('verstappen') then
. EXISTS return TRUE or FALSE no need to check if is NULL.
@CryptoCatOkiOKi thanks for the info, fixed both!
Blogpost: https://hartenfeller.dev/blog/maps-oracle-plsql
Comments on this issue are displayed on the blogpost.