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
If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?
What are the uses of etl tools?
What is a grid in Informatica?
What are the reusable transformations?
Differentiate between a repository server and a powerhouse?
Explain sessions. Explain how batches are used to combine executions?
In What Situations we can use MappingParameters ,Mapping Variables AND Session Parameters in REAL TIME.
What are the different types of repositories created using informatica?
What does refresh system mean, and what are its distinctive choice?
I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.
How to generate sequence numbers without using the sequence generator transformation?
what is mean by complex business rule ?
r u done any partitions in ur project?
What are the performance considerations when working with aggregator transformation?
Enlist the advantages of informatica.