I have some question. I want to execute some SQL query when oracle starting up(initialization).
for instance, Linux, Windows, and etc. OS are enable to run program, when computer start up.
anyway, my purpose is executing some query in oracle 11g r1, when oracle starting up.
You could use
AFTER STARTUP Triggers
.Run the query you need to inside the procedure or within the block if you need it. But, you should decide a way to store the result of the query somewhere. storing it in a table would be better.