Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Danielle Petrides1,397 Points
REPLACE() with string literal and single quotes?
In this video, the example provided was REPLACE(state, "California", "CA"). Is this a scenario where we would use single quotes typically? I'm still trying to understand string literals vs identifiers and usage of single and double quotes.
Steven Parker224,848 Points
I don't think SQLite cares, so you can use either type of quote. But for future use of pickier databases, both of the quoted arguments are literals in this case.