DATA Step, Macro, Functions and more

need to extract data from a dataset deployment start dates that are more than 5 days

Reply
Contributor
Posts: 70

need to extract data from a dataset deployment start dates that are more than 5 days

I have a dataset with variables ID, summary, start date and POC. I want to create another dataset with more than 5 days. - Please help

 

proc sql;
create table Task.test as
select * from task.deploy_file as A where Scheduled_Start_Date <= (Scheduled_Start_Date +5);
quit;

PROC Star
Posts: 1,265

Re: need to extract data from a dataset deployment start dates that are more than 5 days

Please be more specific than "I want to create another dataset with more than 5 days"?

 

Show us an example of what your data looks like, so we can rewrite your SQL code.

 

As os now, your WHERE Statement makes little sense. It is always true.

Ask a Question
Discussion stats
  • 1 reply
  • 46 views
  • 0 likes
  • 2 in conversation