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 |
How to handle bulk data?
Does mysql_real_escape_string prevent sql injection?
Differentiate pl/sql and sql?
What version is sql?
If there are 1 to 100 numbers in a table and in that 100 numbers some 10 numbers are deleted.I want to find out the missing numbers between 1 to 100 by pl/sql how?
What port does sql server use?
Why left join is used in sql?
what are different types of keys in sql?
Can we create a trigger on view?
How do you update a value in sql?
What is cascade in sql?
Can we join 3 tables in sql?