Microsoft Business Intelligence
This blog provides SQL and MSBI stuff along with Interview Questions.
Pages
Home
MDX
Interview Questions
Thursday, July 16, 2015
Delete duplicate rows from flat file
Delete duplicate rows from flat file using UNIX commands
Step1:Sort the rows first using sort command
Sort
sortoutputfile
Step2:Select unique rows from sorted file.
uniq sortoutputfile finaloutputfile
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment