how to display last 5 letters from a name (take emp table
ename )
Answer Posted / 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 |
Post New Answer View All Answers
What is an Oracle database Partial Backup?
What is Restricted Mode of Instance Startup in Oracle?
What are different types of transactions in ar? : oracle accounts receivable
Where in the Oracle directory tree structure are audit traces placed?
i want to know about the javaBean.what is its purpose and how it can use in Forms.
key flexfield structure
Explain the payment term in ar. : oracle accounts receivable
what are the types of LIST REPORTS in cognos8BI? and what is the mean and use of METRIC STUDIO in Cognos 8.3BI?
What is chargeback invoice? How do we create it? : oracle accounts receivable
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
Differentiate between earned discounts and unearned discounts? : oracle accounts receivable
I am Bsc Computer Science Graduate, I have good knowledge in SQL 7.0, Can I go for Oracle APPS course please suggest me the answer
Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable
Are These Dff's Flexible?
How many segment are present in Oracle Manufacturing