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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 341 views
  • 3 likes
  • 3 in conversation