In packages the source code is compiled into p code ? how
do we describe the p code
Answers were Sorted based on User's Feedback
Answer / swapna
After compiling procedures,functions and triggers(in new
versions only),Those will be stored in the form of p-code
(after parsing) in SGA(System Global Area).
The advantage of p-code is Since it was there in SGA which
can be shared by all,Whenever you execute procedure or
function,It won't be recompiled.It uses already compiled p-
code.So,time can be saved.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / srinu
Yes u r correct Swapna,But if we want 2 get the source code
of stored procedure,function,trigger or package ten the
query is......
SELECT text
FROM USER_SOURCE
WHERE NAME='PROCEDURE_NAME/FUNCTION_NAME/TRIGGER_NAME';
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / arup ratan banerjee
But Swapna,,,,
Those codes get stored in ALL_SOURCE tables...
Just check this query out...
Select * from ALL_SOURCE where owner='<OWNER_NAME>'
and type='PROCEDURE'
u WILL GET THE SOURCE CODE FROM HERE
| Is This Answer Correct ? | 0 Yes | 2 No |
Which are the different character-manipulation functions in sql?
How long it takes to learn pl sql?
How does a self join work?
how can we know the count/number of elements of an array? : Sql dba
Write a unique difference between a function and a stored procedure.
What is the purpose of the primary key?
what is purge command explain about oracle performance tuning
2 Answers Accenture, eCentric Solutions,
If we declare constraints Unique and Not null on a single column then it will act as a Primary key, so what is the use of primary key??
What are all the ddl commands?
What does inner join mean?
Is nosql faster than sql?
how to check server status with 'mysqladmin'? : Sql dba
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)