Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 a repository manager?

1089


Calculate sum of salaries department wise. Then the sum will be repeat for all columns in each department. Develop a mapping for this.

2418


difference between repository database and repository service?

1150


How big was your fact table

1799


Explain the tuning lookup transformation - informatica

988


What are batches?

1096


What are the main issues while working with flat files as source and as targets ?

1153


What all join we can perform in LOOKUP transformation?

966


What are the validations that you can perform in oracle and in informatica ? Advance Thanks

2073


Which means the first record should come as last record and last record should come as first record and load into the target file?

1072


Define sessions in informatica etl?

1034


What is flashback table ? Advance thanks

1930


What are the conditions needed to improve the performance of informatica aggregator transformation?

1093


What are the different options available for update strategy?

1003


What is a sorter transformation?

1102