Create a table with only scale specification for a column

Hi All, Just came across a peculiar way of specifying only the column scale and not its precision, so thought of sharing with all. It looks pretty simple but could be a handy tip for table designs. Scenario: Create a table CONT_EMPS where Salary column must store values upto 2 places of decimals (i.e. scale… Read More Create a table with only scale specification for a column

PL/Scope and PL/SQL Hierarchical Profiler in Oracle 11g

Hello world, Ever since the release of Oracle 11gR2 in 2009 under the theme “Consolidate. Compress. Control“, its new features have always been the talk of the conferences and meetings. But besides the compression, control and other development features, there were several other features which have got less weightage. I shall present my walkthrough experience… Read More PL/Scope and PL/SQL Hierarchical Profiler in Oracle 11g

Result Caching feature in Oracle 11g

Caching has always been the pick of the programmers world. These days applications formulate and maintain different strategy for Cache Manager. Database presents an efficient cache manager which is capable of caching the SQL query results, PL/SQL functions results and client OCI result cache. In earlier versions of Oracle, caching mechanism was limited up to… Read More Result Caching feature in Oracle 11g

Enable code optimization technique using PLSQL_OPTIMIZE_LEVEL

Attribution: This article is a complimentary excerpt from Oracle Advanced PL/SQL Developer Professional Guide Oracle initialization parameter PLSQL_OPTIMIZE_LEVEL The parameter was introduced in Oracle 10g to decide the level of optimization applicable for a program unit during compilation. The optimization during compilation means the removal of dead code, code movements to optimize iterative constructs, inline… Read More Enable code optimization technique using PLSQL_OPTIMIZE_LEVEL

My RMOUG abstract (Inheritance in Oracle)

  Inheritance in Oracle: Exploring the Descendents “The Abstract Object model of database is an under implemented and commercially unexplored flavor of database. In the late 1980s, relational model of Oracle faced several deficiencies, which forced the evolution of Object model. Undoubtedly, relational model did all well for flat data storage, maintenance of integral data,… Read More My RMOUG abstract (Inheritance in Oracle)