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! While you're at it, check out some resources Treehouse students have shared here.
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 trialDanielle Petrides
5,346 PointsREPLACE() 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.
1 Answer
Steven Parker
231,248 PointsI 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.