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 are database links used for?
How to read/write files from pl/sql?
What are the differences between in and exists clause?
Should I use mbr or gpt?
what is ref cursor in pl/sql?
What are the different ways to optimize a sql query?
What will you get by the cursor attribute sql%rowcount?
What is sql engine in oracle?
what are the different functions in sorting an array? : Sql dba
What is before trigger?
what is oltp (online transaction processing)? : Sql dba
How to start oracle sql developer?
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)