When should I use single quotes and when should I use double quotes in SAS?
I have encountered one case where it makes a big difference. What is the reasoning behind this difference?
Example that works:
%let y = 1999;
data test;
set fxmicro.aug99;
where date_time > "02aug&y. 09:30:00"dt;
run;
With single quotes it doesn't work. Error message:
ERROR: Invalid date/time/datetime constant '02aug&y. 09:30:00'dt.
I typically use single quotes myself when I write SAS-code.
What is the guidlines for using double quotes?