Posts Tagged ‘ sql ’

HAVING (clause) fun with SAS Enterprise Guide

September 19, 2012
By
HAVING (clause) fun with SAS Enterprise Guide

Last week I attended a meeting of the Toronto Area SAS Society. (Okay, I didn't just attend; I was a presenter as well.) This user group meeting contained a feature that I had never seen before: "Solutions to the Posed Problem". Weeks before the meeting, an "open problem" was posted
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Comparing data set schemas in SAS

August 15, 2012
By
Comparing data set schemas in SAS

The project that I'm currently working on requires several input data tables, and those tables must have a specific schema. That is, each input table must contain columns of a specific name, type, and length in order for the rest of the system to function correctly. The schema requirements aren't
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Improving on a SAS programming pattern

March 23, 2012
By
Improving on a SAS programming pattern

Earlier this week I described a common programming pattern in the SAS macro language. The pattern sets up a loop for processing each distinct value of a classification variable. The program uses the PROC SQL SELECT INTO feature to populate SAS macro variables. The effect: you can roll your own
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

SAS OLAP Cubes: Using PROC SQL and MDX to Query OLAP Cubes

January 11, 2012
By

SAS PROC SQL has a lot of neat ways you can extract and manipulate data.  In my experience, SAS users typically write PROC SQL to query SAS datasets or relational tables in databases.  You can also... [[ This is a content summary only. Visit my webs...
Read more »

Tags: , , , , , ,
Posted in SAS | Comments Off

An Analytical Valley: Big Data and Data Scientists (and SAS Programmers)

September 14, 2011
By
An Analytical Valley: Big Data and Data Scientists (and SAS Programmers)

Tom Davenport reported an observation that Silicon Valley is becoming more analytical since companies in the Valley such as Google, Facebook, eBay, LinkedLn all have strong presences in analytics. Besides such predominant companies, I’d also like to add Yahoo to the list although Yahoo is no longer in its peak. Yahoo is the largest...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

NOTE: CALCULATED in SQL

August 31, 2011
By

If you use SQL, either hand-cranked from the Editor, or generated via Enterprise Guide or DI Studio, you're probably familiar with creating new columns ("computed columns"). However, have you ever struggled to create a computed column from a computed c...
Read more »

Tags: ,
Posted in SAS | Comments Off

NOTE: CALCULATED in SQL

August 31, 2011
By

If you use SQL, either hand-cranked from the Editor, or generated via Enterprise Guide or DI Studio, you're probably familiar with creating new columns ("computed columns"). However, have you ever struggled to create a computed column from a computed c...
Read more »

Tags: ,
Posted in SAS | Comments Off

First One In Gets the Win

August 9, 2011
By

Yikes, it's been a while since the last update! So I will try to keep this one short and useful. Most everybody knows there are essentially two ways for tables to be merged in SAS: using the merge statement in the data step and using a join in SQL. ...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.