BookmarkSubscribeRSS Feed
kdp
Calcite | Level 5 kdp
Calcite | Level 5
Hello,

I am connecting to a data set on a SQL server, where one of the column name is "In". I have tried pulling in the field using double quotes, single quotes and even renaming it in both proc sql and data step. But nothing seems to work.

And ideas?

kdp
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Have you tried the SAS "data set option" RENAME= used with FROM (PROC SQL) or the SET statement (DATA step)? It's best to share code and related SAS log (pasted in your post or post-reply) for what you have tried in order to allow subscribers to provide useful feedback/comment on your situation. Also, having the SAS log information (at least some relevant code leading up to the problem/error), let's subscribers know what's going on. Lastly, SAS version, OS platform, and whether you are local/remote server connected helps too.

Scott Barry
SBBWorks, Inc.

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

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 959 views
  • 0 likes
  • 2 in conversation