3 ms·
When you’re embedding SQL in a string, a you use ‘ a lot more than “. Not the only use case, but one to give some consideration.
by JackFr 5y ago
When you’re embedding SQL in a string, a you use ‘ a lot more than “. Not the only use case, but one to give some consideration.
- throwaway894345 5y agoI think that’s only MySQL. Postgres uses double quotes for identifiers and single quotes for literals. EDIT: I misinterpreted that single quote as a backtick. In any case, both single and double quotes are common in SQL, but single quotes are a bit more common.