From 2f0dedbe79d79322a1e6e425a77ab891661fb020 Mon Sep 17 00:00:00 2001 From: Do Nhu Vy Date: Fri, 5 Jul 2019 09:44:07 +0700 Subject: [PATCH 1/2] Delete ```sql character , revise numbering --- docs/t-sql/lesson-3-deleting-database-objects.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/t-sql/lesson-3-deleting-database-objects.md b/docs/t-sql/lesson-3-deleting-database-objects.md index 356938b3240..f53bfb8e5ca 100644 --- a/docs/t-sql/lesson-3-deleting-database-objects.md +++ b/docs/t-sql/lesson-3-deleting-database-objects.md @@ -53,12 +53,12 @@ Use the `REVOKE` statement to remove execute permission for `Mary` on the stored 3. Use the `DROP` statement to remove the store procedure `pr_Names`: - ```sql + ```sql DROP PROC pr_Names; - GO - ``` + GO + ``` -6. Use the `DROP` statement to remove the view `vw_Names`: +4. Use the `DROP` statement to remove the view `vw_Names`: ```sql DROP VIEW vw_Names; From 4bb9232c6dc19530a5708eaf61b32ed13eff3597 Mon Sep 17 00:00:00 2001 From: Kristine Toliver Date: Fri, 5 Jul 2019 09:24:46 -0700 Subject: [PATCH 2/2] fix alignment --- .../lesson-3-deleting-database-objects.md | 37 +++++++++---------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/docs/t-sql/lesson-3-deleting-database-objects.md b/docs/t-sql/lesson-3-deleting-database-objects.md index f53bfb8e5ca..ed19d4de877 100644 --- a/docs/t-sql/lesson-3-deleting-database-objects.md +++ b/docs/t-sql/lesson-3-deleting-database-objects.md @@ -38,33 +38,32 @@ Use the `REVOKE` statement to remove execute permission for `Mary` on the stored 1. Use the `DROP` statement to remove permission for `Mary` to access the `TestData` database: - ```sql - DROP USER Mary; - GO - ``` + ```sql + DROP USER Mary; + GO + ``` 2. Use the `DROP` statement to remove permission for `Mary` to access this instance of [!INCLUDE[ssVersion2005](../includes/ssversion2005-md.md)]: - ```sql - DROP LOGIN [\Mary]; - GO - ``` + ```sql + DROP LOGIN [\Mary]; + GO + ``` -3. Use the `DROP` statement to remove the store procedure `pr_Names`: +3. Use the `DROP` statement to remove the store procedure `pr_Names`: - ```sql - DROP PROC pr_Names; - GO - ``` + ```sql + DROP PROC pr_Names; + GO + ``` -4. Use the `DROP` statement to remove the view `vw_Names`: +4. Use the `DROP` statement to remove the view `vw_Names`: - ```sql - DROP VIEW vw_Names; - GO - - ``` + ```sql + DROP VIEW vw_Names; + GO + ``` ## Delete table