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 |
i am pursuing mca and i want to do oracle apps technical in hydrabad, plz guide me tne best institue in hydrabad those have excellent knowledge in oracle apps.
write a query to find the third maximum salary of a employee.(table:employ col name:salary)
What is the architectural difference between Oracle and SQL Server 2000? If I have 100 databases, how many instances get created when you use Oracle and how many get created when you use SQL Server?
Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable
What is Virtual Memory?
What is the meaning of "Modulus" and "Alignment" in a datafile. Data file might be from any database. Data file is created through unloading data from a table. So, while loading this data into my table, I need to use these keywords. Could any one can help me regarding this?
How do you add a data file to a tablespace?
Explain the use of setting GLOBAL_NAMES equal to TRUE.
Difference between transaction type and transaction sources. : oracle accounts receivable
i am having comm in emp table and i want to display 0 when comm =null and -10 if comm= value
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
WHAT IS CARTESIAN PRODUCT?