My flat file source is
C_Id 1-nov-2011 8-nov-2011
100 2000 1500
101 2500 2000
I want my Target as
C_Id Week_Num Amt
100 45 2000
100 46 1500
101 45 2500
101 46 2000
Answer Posted / rakesh
Thanks Vijaya.
In Expression we can use the date function to find the week number of the year. But here we have 1-nov-2011 as the column name, but not the column value. i.e; we have dates as column names, not as col values..
So please clarify..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?
To Provide Support For Mainframes Source Data, which Files Are Used As A Source Definitions?
Briefly describe lookup transformation?
What is update strategy transform?
Why union transformation is an active transformation?
Do you find any difficulty while working with flat files as source and target?
How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?
Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.
What is lookup change?
How do you migrate data from one environment to another?
What is the meaning of up gradation of repository?
explain one complex mapping with logic? sales project?
How can you define user defied event?
What are the differences between source qualifier and joiner transformation?
How can we use batches?