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...

i have 1000 records in my dource table, the same i have in
target ,but a new column added in target as "batchno", and
this column adds no 10 for 1st 100 records and 20 for next
100 records and 30 next 100 records and vice versa. how to
acheive this?

Answer Posted / nitin

Source->SQ->Sequence->Exp->Target

In Sequence Generator:
Give Start Value = 1
End value = 100
Check the Properties as CYCLE.

Give the following condition In Expression Transformation:\
O_SEQUENCE= NEXT_VAL
COUNT = IIF(O_SEQUENCE > 1 AND O_SEQUENCE <= 100, COUNT+10)

Make the default value of COUNT as 0

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is unit testing?tell me proceedure

2224


In informatica workflow manager, how many repositories can be created?

1363


Differentiate between a repository server and a powerhouse?

1121


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

1071


Briefly explain the aggregator transformation?

1010


Can we use the mapping parameter or variables developed in one mapping into any other reusable transformation?

1135


How big was your fact table

1803


Explain the different kinds of facts.

984


What are the different clients of powercenter?

1063


How can we remove the duplicates from flat file source?

1041


What is the use of code page?

1097


I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.

2068


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

10687


What is depict expression change?

1125


When do you use sql override in a lookup transformation?

1101