How does one put # sign that is included in text for a column label in PROC SQL? When the following is run, # gets dropped from the column header.
proc sql;
select make, count(*) "# of cars" from sashelp.cars group by make;
# is being used a split character for the label. You can escape it with /:
proc sql;
select make, count(*) "/# of cars" from sashelp.cars group by make;
# is being used a split character for the label. You can escape it with /:
proc sql;
select make, count(*) "/# of cars" from sashelp.cars group by make;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.