BookmarkSubscribeRSS Feed
jrichardson134
Calcite | Level 5

Maybe this is it?

PROC SQL;
CREATE TABLE WORK.query AS
SELECT 'Do you celebrate?'n , 'Typical Meat'n , 'How is it prepared?'n , 'What kind of stuffing?'n , 'What kind of cranberry sauce?'n , 'Do you have gravy?'n , 'Corn Served'n , 'Green beans served'n , 'Mashed potatoes served'n , 'Rolls/biscuits'n , 'Yams/Sweet Pot'n , 'Apple pie'n , 'pecan pie'n , 'pumpkin pie'n , 'pray before dinner?'n , 'Home or travel?'n , 'Watch Macy''s parade?'n , 'Age cutoff'n , 'Meet up with hometown friends?'n , 'Attend friendsgiving?'n , 'Shop black Friday?'n , 'Work in retail?'n , 'Area you live?'n , Age , 'Gender?'n , 'Combined monthly income'n , 'US Region'n FROM IS3310.IRP;
RUN;
QUIT;

PROC DATASETS NOLIST NODETAILS;
CONTENTS DATA=WORK.query OUT=WORK.details;
RUN;

PROC PRINT DATA=WORK.details;
RUN;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 15 replies
  • 2843 views
  • 0 likes
  • 3 in conversation