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
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
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
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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