BookmarkSubscribeRSS Feed
JSJ
Quartz | Level 8 JSJ
Quartz | Level 8

Hi all,

I am working in SAS EG and I need to have longer column headings than what is allowed in a query.

I made a sum and I would like to have more than the 35 or so characters.

Also, can you split the column header to be on 2 lines.

      FY15 Total Gifts

To Alloc 999999, 888888

2 REPLIES 2
jennifert
SAS Employee

Hi JSJ,

I believe it is the case that the column headings in a query are limited to 32 characters and can contain special characters including blanks as long as the Valid variable names option is set to "Extended variable names (ANY)." (This option is located under Tools > Options > Data > Data General) 

As far as I know, you cannot split a column heading over multiple lines, but I'll verify that with the experts here, and we will post back if there is a way to do it.

thanks!

Jennifer


Catch the SAS Global Forum keynotes, announcements, and tech content!
sasglobalforum.com | #SASGF

jennifert
SAS Employee

Hi JSJ,

I was able to confirm with a member of our development team that the maximum length for column headers is 32 characters, and they cannot span multiple lines.

thanks,

Jennifer


Catch the SAS Global Forum keynotes, announcements, and tech content!
sasglobalforum.com | #SASGF

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 1391 views
  • 0 likes
  • 2 in conversation