proc sql output to a dataset

Reply
New Contributor
Posts: 2

proc sql output to a dataset

Hi,

I'm new to SAS. Is there a way to output a PROC SQL query to a SAS dataset rather than a report?

Respected Advisor
Posts: 4,934

Re: proc sql output to a dataset

Yes, of course. For example :

proc SQL;

create table myTable as

select * from SASHELP.CLASS;

quit;

PG

PG
New Contributor
Posts: 2

Re: proc sql output to a dataset

Thank you very much PG!

Ask a Question
Discussion stats
  • 2 replies
  • 284 views
  • 0 likes
  • 2 in conversation