declare l1 number := null; l2 number :=null; begin if l1=l2 then message('equal'); else if l1<>l2 then message('not equal'); else message('else'); end if; end if; end; What will be the output ?
7 14587declare lowerl number:= 1; upperl number:= 3; num varchar2(10); begin for i into lowerl..upperl loop num:=num||to_char(lowerl); if i=3 then upperl:=5; end loop; message(num); What will be the output ?
3 9046Given two tables Student(SID, Name, Course) and Level(SID, level) write the SQL statement to get the name and SID of the student who are taking course = 3 and at freshman level.
9 16133What action do you have to perform before retrieving data from the next result set of a stored procedure ?
2608What cursor type do you use to retrieve multiple recordsets?
Apollo, CTS, IonIdea, Microsoft, Oracle, TCS, Vmoksha, Wipro,
17 71288
Which version of sql do I have?
how to create a new view in mysql? : Sql dba
What are functions in sql?
What are different types of functions in sql?
What is sqlcommand?
Explain select statements in sql?
Why use truncate instead of delete?
List and explain the different types of join clauses supported in ansi-standard sql?
What are actual parameters and formal parameters?
What is the usage of nvl function?
How is a PL/SQL code compiled?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is clause?
When is the explicit cursor used ?
List the various privileges that a user can grant to another user?