Double vs single quotes
Is there a specific time when I should use “” vs ”? I’ve been using single quotes most of the time because it’s easier to type but I’m not sure if I should. e.g. get ‘user/new’ vs. get “user/new” 7 Answers 7
Is there a specific time when I should use “” vs ”? I’ve been using single quotes most of the time because it’s easier to type but I’m not sure if I should. e.g. get ‘user/new’ vs. get “user/new” 7 Answers 7
In JavaScript, a backtick† seems to work the same as a single quote. For instance, I can use a backtick to define a string like this: var s = `abc`; Is there a way in which the behavior of the backtick actually differs from that of a single quote? † Note that among programmers, “backtick” … Read more
I am trying to insert some text data into a table in SQL Server 9. The text includes a single quote ‘. How do I escape that? I tried using two single quotes, but it threw me some errors. eg. insert into my_table values(‘hi, my name”s tim.’); 1 14