what is global variable in package
Answers were Sorted based on User's Feedback
Answer / useroracle
Global variable or subprogram(procedure,function) that can
be referenced outside the package and is visible to
external users user is called global variable. Global
package items must be declared in the package specification.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / shail
Remeber two things:
1. Global to package - declared in package body (outside
and procedure)
2. Global to database - declared in package specification
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / vidya
Defining a Global variable is practically restricted,
Beco'z Renaming a Package is very nasty things, our
Database always available in Tree Structure. But Global
variable determined by whether you declare the variable
outside in the package (global)/ Procedure (global).
Declaring a variable in the body or the specification
determines if the variable is public (specification) or
private (body)
| Is This Answer Correct ? | 2 Yes | 3 No |
What is bulk collect in pl sql?
When we can declare a column as Unique and Not Null both at the same time. What is the use pf Primary Key then?
2 Answers Accenture, Unisoft Infotech,
What is anonymous block in sql?
what are local and global variables and their differences? : Sql dba
write a query to find 4th max salary
What schema means?
what is Difference between Having and Where clause?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
Which column of the user triggers data dictionary view displays the database event that will fire the trigger?
why sql is used as interpreter frequently rather than a compile?
what is denormalization. : Sql dba
Is it possible to pass parameters to triggers?
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)