how to get the unique records on multiple columns by using
sequential file stage only

Answers were Sorted based on User's Feedback



how to get the unique records on multiple columns by using sequential file stage only..

Answer / chandu

in sequential file there is one option is there i.e
filter.in this filter we use unix commands like what ever we
want.in this question we use uniq command in filter.

Is This Answer Correct ?    7 Yes 0 No

how to get the unique records on multiple columns by using sequential file stage only..

Answer / subhash

SORT -u file_name.txt
or
SORT|UNIQ file_name.txt

Is This Answer Correct ?    3 Yes 0 No

how to get the unique records on multiple columns by using sequential file stage only..

Answer / todearhari

Just a small correction to Above Answer ,First we need to sort the Data then use the Uniq then only you will get Complete uniq records as uniq compares line by line.

Command:
Sort |Uniq

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Data Stage Interview Questions

Define orabulk and bcp stages?

0 Answers  


In aggregator stage,to find the sum of the entire group of columns,it displays in binary format. How can i solve this problem.

1 Answers   IBM,


How can we achive parallelism

1 Answers   CTS,


In a table 100 records are there after 50records job is aborted how can u insert all records in target table.

1 Answers   Cap Gemini,


How to Convert the columns into rows?

2 Answers  






A table containg 100 records B table containg 20 records we have to join two tables in left outer it containg target 100 records but target containg 101 record at that time what is the issue arise

3 Answers   Polaris,


What are the different database update actions available?

1 Answers   HP,


Differentiate between datastage and datastage tx?

0 Answers  


how to closeing records after 10,000 records come?

3 Answers  


In merge stage can we update the values?

3 Answers   TCS,


If I make any changes in the parallel job,do I need to implement the changes in the sequencer job,else the changes will be reflected automatically

6 Answers   TCS,


my soure table is emp having columns sal,deptno in the deptno 10,20,30deptno row are there expected out put is min(sal) of 10th deptno,max(sal) of 20th deptno,mean(sal) of 30th deptno using aggregation stage

4 Answers  


Categories