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 a connected transformation?

1097


What does cheating measurement mean?

1032


How can one identify whether mapping is correct or not without connecting session?

1429


what is the Default Source Option For Update Strategy Transformation?

1221


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

1276


What is rank index in rank transformation?

1057


what are the Methods For Creating Reusable Transformations?

1154


Workflow is long running due to long running sql query so when we refer the query plan it tells the issue is due to partition of the db table. How to handle this?

1653


During the running session, output files are created by informatica server. Enlist few of them.

969


What is a transaction control transformation?

1181


What are the new features of informatica 9.x developer?

955


i have a data in my source as a flat files what test i have to perform the next step can any body help to me

2106


How do you manage the Parameter files while migrating your data from one environment to another environment?

999


Which transformation is needed while using the Cobol sources as source definitions?

1157


Explain sessions and how many types of sessions are there?

988