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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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