Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the responsive-lightbox domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
Anonymous PL/SQL Block - Testingpool

Anonymous PL/SQL Block

Definition :

The PL/SQL block that has no name is called Anonymous PL/SQL Block.

Structure :

Since the Anonymous Blocks have no names , therefore the header section is completely missing. They only consist of two sections :

  • Declaration Section
  • Exception Section

Internal Working of Anonymous Blocks:

Firstly the user writes the source code i.e. the Anonymous block in this case and triggers it . The end user act as the client  ( e.g. SQL* Plus session ).

After it is triggered , SQL *Plus sends the entire code to the Server through the network.

Once it reaches the server , the SQL engine performs the following 3 process :

Parsing – The PL /SQL  Parser checks the code for syntactical errors and also whether the associated objects exists and are accessible.

Compilation – The PL/SQL Compiler next compiles the code , Once compilation is complete , the code then enters the Execution phase.

Problems with Anonymous Blocks :

Anonymous Block

Traffic – Jam over the Client – Server Network / Speed Slowness :

As mentioned above that in Anonymous block , the entire code from client travels over the network to reach the server , hence this creates a traffic jam on the network which causes slowness of speed.

Performance Issue :

Moreover when these multiple lines of codes from multiple clients reaches the sever , parsing and compilation process happens for thousands of lines of code which causes performance issue.

Avatar photo

Shikha Katariya

Shikha

You may also like...