I think an exact match for the STATIC modifier does not exist in pl/sql (because in C it can be applied even to functions or class members and each can be affected in a different way) , but you can achieve something similar usging the ‘CONSTANT’ keyword.
<pre>v_time_constant constant varchar2(8) := to_char(sysdate,’hh24:mi:ss’);</pre>
If you place this declaration on a function that is called recursively, it will initialize with the time in which the function starts, and will retain its value till the function ends. In the next recursive call, it will initialize with some other value, at it will keep that value during the life of the current call.
Hope this helps.