BookmarkSubscribeRSS Feed
Doc_Duke
Rhodochrosite | Level 12
What is the difference between the the value put in for the "Column" vs "Alias" in the Computed Columns part of the Query Builder? I see that the "alias" becomes the "column name" and the 'column' becomes the 'Input' in the "Select data" display, but I can't figure out any function for the differentiation. I Googled and didn't find anything useful.
2 REPLIES 2
ChrisHemedinger
Community Manager
Doc,

Most of the time these values can be the same, and we've considered simplifying the UI to reflect that.

The "Column" field is what you want to show in the query builder -- you can regard that as the "friendly name" -- something that's easy to understand based on its name.

The "Alias" field is the name that's assigned via the SQL syntax, and you might want that to be different to make the syntax more readable or easier to maintain if you use the SQL as part of another SAS program.

Chris
Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
ChrisHemedinger
Community Manager
For a bit more about aliases, see:
http://blogs.sas.com/sasdummy/index.php?/archives/151-Alias-A-table-by-any-other-name.html

Chris
Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2565 views
  • 0 likes
  • 2 in conversation