Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Qusetion Error

khalidoracleitMar 17 2010 — edited Mar 17 2010
I have this question in oracle certificate document and they give the solution with it included so the question is
Evaluate the SQL Statement :
Select LPAD (salary,10,*) from emp where emp_id=1001;
If the employee with the EMP_ID 1001 has a salary of 17000 , what is displayed ?

A.17000.00
B.17000*****
C.****170.00
D.**17000.00
E. an error statement
And they give the solution is C

But I think it is ERROR because it should be the E because * should have ‘*’ ,because it is Oracle certificate question and if i do this add with the query ( and salary = 17000 ) its will give nothing are u agree with me?
This post has been answered by 561093 on Mar 17 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2010
Added on Mar 17 2010
5 comments
1,002 views