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 |
3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);
how many triggers are allowed in mysql table? : Sql dba
ename empno deptno amar 1 10 akbar 2 20 anthonny 3 30 jonathan 4 40 write a procedure to dispaly the column values ina row separated by a deleimiter eg - input - select ename from emp '|' output - amar|akbar|anthony|jonathan input - select empno from emp '@' o/p - 1@2@3@4 input - select deptno from emp '/' o/p - 10/20/30/40 Pls answer this questn.
which will default fire first statement level trigger or row level trigger
2 Answers Cap Gemini, Data Vision,
Which constraints we can use while creating database in sql?
What operating systems are supported by oracle sql developer?
What are the types of queries in sql?
I Have A Table Like This. Cityno Cityname Mails 1 Bangalore 8km 2 Hsr Layout 20km 3 Mejistic 30km 4 Jayadeva 55km 5 Itpl 80km 6 Hebbal 115km I Have Data Like This I Want O/p Like This Distance No.ofcity 0-50km 3 51-100km 2 101-150km 4 And So On
What is aggregate function in sql?
What are Lexical Parameters.How They are used in Reports 6i
Can we use rowid as primary key?
What is the difference between distinct and unique in sql?
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)