[英]How can I extract/get data between two dates in SAS?
有人可以幫忙找到一種方法來提取SAS中兩個日期(例如01/10/2007和31/03/2008)之間的所有數據嗎? 日期格式為DDMMYY10。 我嘗試了以下語法:
Data want; set have; where OrderDate between 01/10/2007 and 31/03/2008; Run;
這給了我一個錯誤。 謝謝
data want;
set have;
where orderDate between '01OCT2007'd and '31MAR2008'd;
run;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.