Category Archives: PL/SQL

Dutch Toad Usergroup…

On november 16th the Dutch Toad Usergroup will be holding a free seminar at the Amsterdam ArenA. If you want to register for this free event, follow this link. Steven Feuerstein will be giving a couple of sessions and my friend Alex Nuijten from AMIS will be performing the SQL and PL/SQL Quiz as a closing keynote, together […]

Read more

I love PL/SQL, and…

  Like Alex has blogged on the AMIS Technology blog there is a site I want you all to visit. It’s one of Steven Feuerstein‘s Pet Peeves and it’s all about the PL/SQL language and what could be improved in it. I Love PL/SQL, and.. is a site where you can cast your vote on existing […]

Read more

Tri-state boolean

All data types in the Oracle database implement the null value. Null is a very special value which means ‘Unknown’. That means that the value is really unknown. Null is not equal to null, because both are not known. Therefore you cannot compare them to each other. Even the boolean value has this null value […]

Read more

Oracle errors…

I’m sure everybody ran into an error of some sort when using Oracle. Some errors are really obvious, you are trying to select a column that doesn’t exist, assigning a variable that hasn’t been declared, that kind of errors. But there are also errors that you don’t run into that often, maybe it’s even the […]

Read more

Open cursors…

Today I came across a very strange problem in the code I am working on. The code raised a correct error, when executed the first time, but ran with no problems the second time. After a lot of debugging (even built a log package, hopefully so generic it will one day make it to my […]

Read more

By position or by name…

In Oracle PL/SQL you have the possibility to call another program with parameters either by position or by name. Both have their pros and cons I think. Consider the betwnstr function (posted last time) and these calls (all have the same result): l_varchar := betwnstr(‘hello world’ , 3 , 5 , true); l_varchar := betwnstr(‘hello […]

Read more