BookmarkSubscribe
Choose Language Hide Translation Bar
antoinesofradir
Community Trekker

Delete multiple rows in a data table

Hello,

My question is in the title !
How can i delete multiple rows in my data table's column ?

Thanks for your help !

0 Kudos
1 REPLY 1
nishunksaxena
Community Member

Re: Delete multiple rows in a data table

Hi try this

suppose your data is table my_data as

col1 col2

1     2

2     3

1     2

Sort first as

proc sort data=my_data noduplicates; by col1; run;

then my_data will have

Col1 col2

1     2   

2     3

Hope that helps.........Thanks

0 Kudos