Forum Moderators: open
Most relational database management systems (RDBMS) use single quotation or double quotation marks surrounding certain column type values in order to manipulate that column's value, particularly string values. For example, in order to create a new row in your table for a person with the last name of
Johnsonyou might see something like this:
INSERT INTO mytable (lastname) VALUE ('Johnson'); O'Reilly? Well, that's when you need to escape the column's value with whatever the RDBMS escape character is. With MySQL you will often see the use of the backslash as it's escape character. So, you could do something like:
INSERT INTO mytable (lastname) VALUE ('O\'Reilly'); MySQL Resource:
[dev.mysql.com...]