Find a way to implement the following logic :
You have column like :
Column 1

AA|BB|CC
DD|EE|FF
WW|AA
I need to get the length of the column without the ‘|’ .

Answer Posted / ankit kansal

An Easy Way Of Achieving The Output Will Be :-

select length(column_name)-(length(cloumn_name)-length(replace(column_name,'|',''))) from table_name;


http://deepinopensource.blogspot.in/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is intricate mapping?

592


Define update strategy?

639


What is persistent lookup cache?

603


What is sq transformation?

668


How many number of sessions can one group in batches?

695






What are the data movement modes in informatica?

703


Explain the types of transformations?

596


Can we create a Integration service without a Repository service and vice versa?

726


How can repository reports be accessed without sql or other transformations?

729


What is the commit type if you have a transaction control transformation in the mapping?

654


How do you load alternate records into different tables through mapping flow?

1294


How do you convert single row from source into three rows into target?

605


What are the differences between oltp and olap?

550


Explain the shared cache and re-cache?

613


Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?

1743