I need an oracle query for convert Char to Integer?. Can any
one help me how to do this?
Answer Posted / ankit kansal
First of all Oracle supports implicit conversion between char to number if the specified text is of number type only.
*********************************************
Lets say sql>select '111'+1 as ans from dual;
ans
---
112
*********************************************
Here, 112 is the output you received it does not matter '112' as string.
But For precautions you can write your query as
***********************************************
sql>select to_number(trim('111'))+1 from dual;
***********************************************
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the different lookup cache(s)?
In which transformation you cannot drag ports into it?
Design a mapping to load a target table with the following values from the above source?
How can we delete duplicate rows from flat files?
What is a mapplet/worklet in informatica?
What is a connected transformation?
differences between service based and product based?
What are active and passive transformations?
How many types of sessions are there in informatica.please explain them?
What is olap (on-line analytical processing?
What are the various types of transformation?
What are the components of workflow manager?
What is mapping debugger?
How do you load unique records into one target table and duplicate records into a different target table?
Explain what are the different types of transformation available in informatica.