PROC SQL by Example
Author | : Howard Schreier |
Publisher | : SAS Institute |
Total Pages | : 296 |
Release | : 2014-11-07 |
ISBN-10 | : 9781599948836 |
ISBN-13 | : 1599948834 |
Rating | : 4/5 (36 Downloads) |
Download or read book PROC SQL by Example written by Howard Schreier and published by SAS Institute. This book was released on 2014-11-07 with total page 296 pages. Available in PDF, EPUB and Kindle. Book excerpt: In PROC SQL by Example: Using SQL within SAS, author Howard Schreier illustrates the use of PROC SQL in the context of the SAS DATA step and other SAS procedures (such as SORT, FREQ, MEANS, SUMMARY, APPEND, DATASETS, and TRANSPOSE) whose functionality overlaps and complements that of SQL. Using a side-by-side approach, this concise reference guide includes many extensively explained examples showing equivalent DATA step and SQL code, enabling SAS users to take advantage of existing SAS skills and knowledge while learning about SQL. Discussions cover the differences between SQL and the DATA step as well as situations where SQL and the DATA step are used together to benefit from the strengths of each. Topics addressed include working with joins and merges; using subqueries; understanding set operators; using the Macro Facility with PROC SQL; maintaining tables; working with views; using PROC SQL as a report generator; and more. This text is ideal for SAS programmers seeking to add PROC SQL to their SAS toolkits as well as SQL programmers striving to better integrate the SAS DATA step and SQL. This book is part of the SAS Press program.