You may try like this:-
INSERT INTO mytable (text) VALUES ('''I''''''m Sure this broke things''')
If you are inserting from SQL you may also try this:-
DECLARE @Value varchar(50)
SET @Value = 'I''m Sure this broke things'
INSERT INTO Table1 (Column1) VALUES (@Value)
If you are using ADO.NET then try like this:
using (SqlConnection conn = new SqlConnection(connectionString)) {
conn.Open();
using (SqlCommand command = conn.CreateCommand()) {
command.CommandText = "INSERT INTO Table1 (text) VALUES (@Value)";
command.Parameters.AddWithValue("@Value", "'I''m Sure this broke things'");
command.ExecuteNonQuery();
}
}