What is the difference between nodup and nodupkey options?

Answers were Sorted based on User's Feedback



What is the difference between nodup and nodupkey options?..

Answer / madhupamuluri

Nodup or noduprec: It deletes duplicate observations (the observation repeated more than one time in a dataset) by using all the variables which are available in the input statement.

Nodupkey: It deletes duplicate data values(the value is repeated more than one time in a variable)as well as duplicate observations (the observation repeated more than one time in a dataset) by using the key variable which are available in the by statement.

Is This Answer Correct ?    1 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / ajay

nodupkey deletes all the observations irrespective of the
other values in other variables if the by varaible provided
is repeating

nodup deletes only the observations that are common in the
provided by variables if all the other observations in it
are same.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / balanarasimhudu

Nodupkey: Checks observation based on the KEY variables.
Noduprecs(or) Nodup: Checks all variables,not just KEY variables.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / pratik

Nodup option is used to delete the observation if all the
varaibles are same with other observation.

Nodup key is used to delete the observation based on key
value.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / surendar

NODUP:- It eliminates or removes if the same information available multiple times in all variables
(It works on all variables).

NODUPKEY:-It eliminates or removes if the same information available multiple times with in the variable.
(It Works on only one key variable) 

Is This Answer Correct ?    0 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / ravi

nodup delete the duplicate observations by considering the entire record..if the entire record is a duplicate one.
nodupkey deletes the duplicates by considering the by varaibles.
nodup compares all the variables in the dataset and nodupkey compares only just by variables.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between nodup and nodupkey options?..

Answer / t.n.v.srinivas

Nodup: use with the nodup we can remove the duplicate
observations
Nodupkey:use with the nodupkey we can remove the duplicate
values

Is This Answer Correct ?    5 Yes 8 No

What is the difference between nodup and nodupkey options?..

Answer / san

NODUP option eliminates the duplicate observations.


NODUPKEY eliminates the duplicate observation keys in the
data set.

Is This Answer Correct ?    19 Yes 27 No

What is the difference between nodup and nodupkey options?..

Answer / venu

NODUP option eliminates the duplicate observations.


NODUPKEY eliminates the duplicate data values in the
data set.

Is This Answer Correct ?    12 Yes 27 No

What is the difference between nodup and nodupkey options?..

Answer / raghu

nodup and nodupkey both are used for eliminate the duplicate
observations in data set.

Is This Answer Correct ?    3 Yes 21 No

Post New Answer

More SAS Interview Questions

What is the purpose of using the N=PS option?

2 Answers   Oracle,


What is the difference between reading data from an external file and reading data from an existing data set?

0 Answers  


what is the main difference between rename and label? (don't say that they both perform the same function).

11 Answers   Parexel,


What are the functions done while Compilation...?

1 Answers   TCS,


We want to merge file A and B. File A has variable age, file B provide birthdate. How to merge the data according to age in file B

3 Answers  






I have a dataset concat having a variable a b & c. How to rename a b to e & f?

0 Answers  


how many data types in sas? : Sas-administrator

1 Answers  


What are the joins,types of joins and thier functions?

7 Answers   SAS,


Of all your work, where have you been the most successful?

0 Answers   Oracle, Six Sigma,


what is sas metadata server? : Sas-di

0 Answers  


explain what is factor analysis? : Sas-administrator

0 Answers  


Why and when do you use proc sql?

0 Answers  


Categories