Transcription of 268-29: Introduction to PROC SQL
{{id}} {{{paragraph}}}
1 Paper 268-29 Introduction to Proc SQLK atie Minten Ronk, Systems Seminar Consultants, Madison, WIABSTRACTPROC SQL is a powerful Base SAS Procedure that combines the functionality of DATA and PROC steps into a single SQL can sort, summarize, subset, join (merge), and concatenate datasets, create new variables, and print the resultsor create a new table or view all in one step! proc sql can be used to retrieve, update, and report on information from SAS data sets or other database products. Thispaper will concentrate on SQL s syntax and how to access information from existing SAS data sets. Some of the topicscovered in this brief Introduction include: Writing SQL code using various styles of the SELECT statement. Dynamically creating new variables on the SELECT statement. Using CASE/WHEN clauses for conditionally processing the data. Joining data from two or more data sets (like a MERGE!). Concatenating query results LEARN proc sql ? proc sql can not only retrieve information without having to learn SAS syntax, but it can often do this with fewer and shorterstatements than traditional SAS code.
1 Paper 268-29 Introduction to Proc SQL Katie Minten Ronk, Systems Seminar Consultants, Madison, WI ABSTRACT PROC SQL is a powerful Base SAS Procedure that combines the functionality of DATA and PROC steps into a single step. PROC SQL can sort, summarize, subset, join (merge), and concatenate datasets, create new variables, and print the results
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Katie Minten Ronk, Steve First, David, Proc SQL, Queries, Joins, and WHERE Clauses, Become Really Productive Using PROC, Advanced Subqueries In PROC SQL, Using the COMPUTE Block in PROC REPORT, PROC, City of Kigali, A Primer for SAS Programmers, Microsoft SharePoint Server 2013, SharePoint Server 2013