how to display last 5 letters from a name (take emp table
ename )
Answers were Sorted based on User's Feedback
Answer / david
@swati ...
their is no any keyword like "right" as u used in ur
answer's statement......
david
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kd
"select substr(ename,-5)as name from emp " is not right
because you will get no name if the ename is shorter than 5
letters.
right way:
select reverse (substr (reverse(ename), 1, 5))
from emp;
Is This Answer Correct ? | 0 Yes | 0 No |
hi iam kavya, i completed Oracle11i(finance module), i do not know how to face the interview questions please adivese me
What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?
How many segment are present in Oracle Manufacturing
What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable
Why more redos are generated when the oracle database is in begin backup mode?
Difference between negative and positive adjustments : oracle accounts receivable
the user should know to which database he is connected currently in oracle
Explain an ORA-01555
Where would you look for errors from the database engine?
What is chargeback invoice? How do we create it? : oracle accounts receivable
what is different between inline query,subquery& corelated query?
Explain the use of table functions.