Inserting Quotations in Name to Table Column

Question:
Is it possible to insert the single quote as part of a Name like O’Brian into a table using a SQL Insert Statement?

Answer:
Yes, use double quotes around the name.

For example:
insert into names (first,last)values (“Jim”,”O’Brian”)

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: