Oracle PL SQL
A category holding articles for Oracles programming language PL SQL.
Recently I had to check over and over again, if tables, which I needed for testing are existing in an Oracle database.
Since checking for existance and completion repeatedly involved the same tasks I decided to implement little PL SQL script, which does the task for me.
SQL
- Hits: 6596
Unfortunately you will not always have all rights on the database you would want or need to fulfill your tasks.
Especially when you have to do performance tuning on Queries and you do not have the right to use the Oracle Advisor you can get frustrated because the DBA is not available as you only do stuff on a UAT or even SIT. "Sorry, the DBA is busy with PRD." Nice!
When in addition your company decided to switch off automated update of statistics for the Optimizer, you want to pull out your hair.
- Hits: 3542
In order to select a value / a result from a query into a variable in PL SQL, you can use the following syntax.
- Hits: 6452
Page 2 of 2