BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
EinarRoed
Pyrite | Level 9

It's a bit unclear to me where in SAS code I can use special character without problems, and where I need to avoid it. By special characters I mean for example certain letters from the Norwegian alphabet, such as Æ, Ø, and Å. I assume it's a good rule of thumb to avoid using them in variable names, and to instead use them in labels? How about using special characters in transformation names and table names while working in DI Studio?

Thanks for your time.

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

You can use special characters in table and column names, and DIS should enclose those names with n literal.

Maybe I'm a bit conservative, or afraid of the future, but I try to avoid this anyway.

Transformation names, they are just labels in the metadata and you should be able to use any character you want. The same goes for the table metadata name, if you wish to differ these from the physical name.

Data never sleeps

View solution in original post

1 REPLY 1
LinusH
Tourmaline | Level 20

You can use special characters in table and column names, and DIS should enclose those names with n literal.

Maybe I'm a bit conservative, or afraid of the future, but I try to avoid this anyway.

Transformation names, they are just labels in the metadata and you should be able to use any character you want. The same goes for the table metadata name, if you wish to differ these from the physical name.

Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

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