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 maximum and minimum length of macro variable

0 Answers  


What is _n_?

23 Answers   Accenture,


How to write duplicate records into a separate dataset using sort?

4 Answers   HSBC,


i have a dataset with 25 obs; 10th obs has like ramu,anji,ramu,azad,ramu like this. i want to know how many times the word repeats in that obs?

3 Answers  


What is the purpose of the trailing and How would you use them?

8 Answers  






what versions of sas have you used (on which platforms)? : Sas programming

0 Answers  


What is the basic structure of a sas program?

0 Answers  


How do dates work in sas?

0 Answers  


Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 2 14Oct2011 3 15 3 15Oct2011 --->this is the current date here i want date format like 13Oct2011,14Oct2011 how we can modify the numeric to date format plz answer.

4 Answers  


how to delete the duplicate columns permanently in SQL

2 Answers   Satyam,


Describe what are the different levels of administrative users in sas? : sas-grid-administration

0 Answers  


/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;

5 Answers  


Categories