write asql query to filter improper date format?
date
20-apr
11-mar-2010
30-may-2010
feb-2009

i want the output
date
11-mar-2010
30-may-2010

Answers were Sorted based on User's Feedback



write asql query to filter improper date format? date 20-apr 11-mar-2010 30-may-2010 feb-2009 ..

Answer / prasad

The function appears like this IIF(IS_DATE(DATE, 'DD-MON-YY'),TRUE,FALSE)

Is This Answer Correct ?    7 Yes 0 No

write asql query to filter improper date format? date 20-apr 11-mar-2010 30-may-2010 feb-2009 ..

Answer / gyana

u can use the TODATE() function to make it as default date
and time

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Informatica Interview Questions

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

0 Answers   Informatica,


Update strategy transformation is an active transformation.How it changes the number of records that pass through it? Please explain....

2 Answers  


a flat file having 1 laks records. if i want convert excel file what happen. (bcz a exccel sheet having 65536 colums but flat files one lak columns). how to get one laks colums in excel sheet .

2 Answers   TCS,


If we use sorted ports in aggregator transformation and somehow records are not in order by format so what will happen,session fails or it succeeded with incorrect data?

1 Answers   Amdocs,


generate Unique sequence numbers for each partition in session with Unconnected Lookup ? Hi All, Please help me to resolve the below issue while Applying partitioning concept to my Session. This is a very simple mapping with Source, Lookup , router, and target. I need to Lookup on the target and compare with the source data, if any piece of data is new then Insert, and If any thing change in the existed data then Update. while Inserting the new records to the target table I'm generating sequence numbers with Unconnected lookup, by calling the maximum PK ID from the target table. The above flow is working fine from last one year. Now I wish to apply the Partitioning concept to the above floe(session) At source I used 4 pass through partitions.(For Each partition different filter conditions to pull the data from source) at Target I used 4 passthrough Partitions. it is working fine for some data, but for some rows for Insert Operation , it is throwing Unique key errors, because while Inserting the data it is generating the same sequence key twice. In detail : 1st row is coming from 1st partition and generated the sequence number 1 for that row. 2nd row is coming from 1st partition and generated the sequence number 2 for that row 3rd row is coming from the 2nd partition generated the sequence number 2 again for that row. (it must generate 3 for this row) the issue is becuase of generating the same sequence numbers twice for different partitions. Can any one Please help me to resolve this issue. While Applying partitions how can I generate a Unique Sequence numbers from Unconnected lookup for Each partitioned data. Regrads, N Kiran.

2 Answers   Tech Mahindra,






what are challenges that you faced in testing? give solution to it?

1 Answers  


What is the default source option for update stratgey transformation?

1 Answers  


How to load a Dimension ? and how to load a fact table?

0 Answers  


How to extract sap data using informatica? What is abap? What are idocs?

0 Answers  


If informatica has its scheduler why using third party scheduler?

0 Answers  


Explain the different kinds of facts.

0 Answers  


i have different sources in different databases ,that sources may be 100 tables i want to load these tables in to single target how to pearform the task

14 Answers   Altisource, TCS,


Categories