summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2019-02-24 17:09:27 +0100
committerGitHub <noreply@github.com>2019-02-24 17:09:27 +0100
commitb939cfc22086ccc54a65201653979c021f5e044d (patch)
treee00df4493a16a3393eb3c972a2776461a892acb3
parent54756681d07049b56cf10f35bf68ca14640b7722 (diff)
downloadwiki-b939cfc22086ccc54a65201653979c021f5e044d.tar.gz
wiki-b939cfc22086ccc54a65201653979c021f5e044d.tar.bz2
wiki-b939cfc22086ccc54a65201653979c021f5e044d.zip
Update Dealing-with-SQL-files.md
-rw-r--r--docs/Dealing-with-SQL-files.md8
1 files 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, ...);
```