BookmarkSubscribeRSS Feed
adzoyi
Calcite | Level 5

Hi! 

  I am writing a simple code and I get this error. The problem is,  "DON'T KNOW'. How do I code it right.

 

 

adzoyi_0-1601587831068.png

 

2 REPLIES 2
novinosrin
Tourmaline | Level 20
 "DON'T KNOW"
ballardw
Super User

Or old school:

 

'DON''T KNOW'

That is two single quotes in the middle. Useful to know as sometimes you can get values with mixed quotes and the single outside double quote won't do as expected.

"Some string that has height measures like 5' 6" in the middle."

Neither single quote works. You could use

"Some string that has height measures like 5' 6"" in the middle."

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 727 views
  • 3 likes
  • 3 in conversation