summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2019-02-24 17:16:01 +0100
committerGitHub <noreply@github.com>2019-02-24 17:16:01 +0100
commit525033fe4f38dc3f784de7c4312e48f92860c477 (patch)
tree3d2cd7dbcb23fc83f4c6a77aebef1d3c032466ce
parentb939cfc22086ccc54a65201653979c021f5e044d (diff)
downloadwiki-525033fe4f38dc3f784de7c4312e48f92860c477.tar.gz
wiki-525033fe4f38dc3f784de7c4312e48f92860c477.tar.bz2
wiki-525033fe4f38dc3f784de7c4312e48f92860c477.zip
Update Dealing-with-SQL-files.md
-rw-r--r--docs/Dealing-with-SQL-files.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Dealing-with-SQL-files.md b/docs/Dealing-with-SQL-files.md
index aaeede0..c87a28b 100644
--- a/docs/Dealing-with-SQL-files.md
+++ b/docs/Dealing-with-SQL-files.md
@@ -12,8 +12,8 @@ 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 ;
+```sql
+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, ...);
```