simple pl/sql questions , [message #356830] |
Sun, 02 November 2008 13:44 |
xost
Messages: 9 Registered: February 2008
|
Junior Member |
|
|
hi people, i have exam in Oracle after few days ,
i need the solution for the following questions .
Q1) write pl sql block to accept 10 number in a loop and print sum of accepted odd numbers and even number seqarately.
Q2) write pl/sql to accept number and print following (e.g if inputtted number is 4 )
4321
432
43
4
Q3) write pl/sql to accept number and print whether it is even or odd
q4) weite a pl/sql block for following pattern
123
12
1
q5) write a pl/sql block which will print first five highes enames from emp table. (use cursor)
for who would help me , thanks in advance ,
[Updated on: Sun, 02 November 2008 13:45] Report message to a moderator
|
|
|