From b939cfc22086ccc54a65201653979c021f5e044d Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 24 Feb 2019 17:09:27 +0100 Subject: Update Dealing-with-SQL-files.md --- docs/Dealing-with-SQL-files.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Dealing-with-SQL-files.md b/docs/Dealing-with-SQL-files.md index 059c4c3..aaeede0 100644 --- a/docs/Dealing-with-SQL-files.md +++ b/docs/Dealing-with-SQL-files.md @@ -13,7 +13,7 @@ Also remember to: - surround any table or field name with `backticks`, and string values with `single quotes`, example: ```SQL -UPDATE `table_name` SET `field_I_want_to_change` = 'new string value' WHERE `entry` = 10 ; + UPDATE `table_name` SET `field_I_want_to_change` = 'new string value' WHERE `entry` = 10 ; ``` ## Write compact code @@ -25,9 +25,9 @@ Compact code helps to keep the size of our SQL update files small, so installing Bad: ```SQL -INSERT INTO `table_1` VALUES (1000, ...); -INSERT INTO `table_1` VALUES (2000, ...); -INSERT INTO `table_1` VALUES (3000, ...); + INSERT INTO `table_1` VALUES (1000, ...); + INSERT INTO `table_1` VALUES (2000, ...); + INSERT INTO `table_1` VALUES (3000, ...); ``` -- cgit