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 do you mean by blocking transformation?
my source is junk data how will u remove that junk data by using unix please any one replay me
generate date / time dimension in informatica
EXL informatica Questions
What is repository manager?
Why update strategy and union transformations are active? Explain with examples.
What can we do to improve the performance of informatica aggregator transformation?
What are the prerequisite tasks to achieve the session partition?
Which files are created during the session rums by informatics server?
Explain lookup transformation is active in informatica
explan ur project architecture?
What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?
How is Source Side push down optimization different to just providing a SQL override in Source qualifier transformation.
Define Pmrep command?
Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance