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."

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 515 views
  • 3 likes
  • 3 in conversation