what is difference b/w pravite procedures and public
procedures?
Answers were Sorted based on User's Feedback
Answer / a g srikanth
Any procedure that is declared and defined ONLY in the
package body is a private procedure. This procedure is
local to the package and other procs cannot call any
private procedure.
On the other hand if the procedure is defined in the
package specification and defined in the package body it is
a public procedure, this is accessible to other procs also.
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / siva
If the procedure is with in the package it is the public
procedure,other wise it is private procedure.
| Is This Answer Correct ? | 18 Yes | 8 No |
Answer / swati sucharita
private procedure is used before class name.if we have
declared private before class name then subclass cannot
inherit the properties of private class.
public procedure is used before class name,if we have
declared public before class name then all other class can
inherit the properties of public class.
| Is This Answer Correct ? | 3 Yes | 5 No |
How many functions are there in sql?
If we update a complex view, is base table will get update ?
2 Answers Ardee Technologies, HCL,
what are the tunnig tables you used for tuning a query and tell me some of coloumns in that tuning tables?
Does mysql_real_escape_string prevent sql injection?
What is difference between group by and partition by?
What is dml and ddl?
What is integrity in sql?
How do I view tables in sql developer?
How pl/sql source code can be protected?
How to set up sql*plus output format in oracle?
Why do we use triggers?
what is Hash join?how it is different from inner join?what is the sign used for inner join?(eg: like the (+) sign used for outer join)?
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)