Skip to content

Commit ef42de1

Browse files
committed
edits
1 parent 0c6d5b9 commit ef42de1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/relational-databases/security/metadata-visibility-configuration.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ monikerRange: ">=aps-pdw-2016 || =azuresqldb-current || =azure-sqldw-latest || >
2424

2525
The visibility of metadata is limited to securables that a user either owns or on which the user has been granted some permission.
2626

27-
For example, the following query returns a row if the user has been granted a permission such as SELECT or INSERT on the table `myTable`.
27+
For example, the following query returns a row if the user grants a permission such as SELECT or INSERT on the table `myTable`.
2828

2929
```sql
3030
SELECT name, object_id
@@ -33,7 +33,7 @@ WHERE name = N'myTable';
3333
GO
3434
```
3535

36-
However, if the user doesn't have any permission on `myTable`, the query returns an empty result set.
36+
However, if the user has no permission on `myTable`, the query returns an empty result set.
3737

3838
## Scope and Impact of Metadata Visibility Configuration
3939

@@ -42,7 +42,7 @@ Metadata visibility configuration only applies to the following securables:
4242
- Catalog views
4343
- Metadata exposing built-in functions
4444
- Compatibility views
45-
- [!INCLUDE [ssDE](../../includes/ssde-md.md)] **sp_help** stored procedures
45+
- [!INCLUDE [ssDE](../../includes/ssde-md.md)] `sp_help` stored procedures
4646
- Information schema views
4747
- Extended properties
4848

@@ -53,7 +53,7 @@ Metadata visibility configuration doesn't apply to the following securables:
5353
- Replication system tables
5454
- [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Agent system tables
5555
- Backup system tables
56-
- Replication and [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Agent **sp_help** stored procedures
56+
- Replication and [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Agent `sp_help` stored procedures
5757

5858
Limited metadata accessibility means the following:
5959

@@ -110,32 +110,32 @@ The following metadata isn't subject to forced disclosure:
110110

111111
- Source definition of a user-defined object such as a stored procedure or trigger. The source code is visible only when one of the following is true:
112112

113-
- The user has **VIEW DEFINITION** permission on the object.
113+
- The user has **VIEW DEFINITION** permission on the object.
114114

115-
- The user hasn't been denied **VIEW DEFINITION** permission on the object and has **CONTROL**, **ALTER**, or **TAKE OWNERSHIP** permission on the object. All other users will see `NULL`.
115+
- The user hasn't been denied **VIEW DEFINITION** permission on the object and has **CONTROL**, **ALTER**, or **TAKE OWNERSHIP** permission on the object. All other users will see `NULL`.
116116

117117
- The definition columns found in the following catalog views:
118118

119-
- `sys.all_sql_modules`
120-
- `sys.server_sql_modules`
121-
- `sys.default_constraints`
122-
- `sys.numbered_procedures`
123-
- `sys.sql_modules`
124-
- `sys.check_constraints`
125-
- `sys.computed_columns`
119+
- `sys.all_sql_modules`
120+
- `sys.server_sql_modules`
121+
- `sys.default_constraints`
122+
- `sys.numbered_procedures`
123+
- `sys.sql_modules`
124+
- `sys.check_constraints`
125+
- `sys.computed_columns`
126126

127127
- The `ctext` column in the `syscomments` compatibility view.
128128

129129
- The output of the `sp_helptext` procedure.
130130

131131
- The following columns in the information schema views:
132132

133-
- `INFORMATION_SCHEMA.CHECK_CONSTRAINTS.CHECK_CLAUSE`
134-
- `INFORMATION_SCHEMA.DOMAINS.DOMAIN_DEFAULT`
135-
- `INFORMATION_SCHEMA.ROUTINES.ROUTINE_DEFINITION`
136-
- `INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT`
137-
- `INFORMATION_SCHEMA.ROUTINE_COLUMNS.COLUMN_DEFAULT`
138-
- `INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION`
133+
- `INFORMATION_SCHEMA.CHECK_CONSTRAINTS.CHECK_CLAUSE`
134+
- `INFORMATION_SCHEMA.DOMAINS.DOMAIN_DEFAULT`
135+
- `INFORMATION_SCHEMA.ROUTINES.ROUTINE_DEFINITION`
136+
- `INFORMATION_SCHEMA.COLUMNS.COLUMN_DEFAULT`
137+
- `INFORMATION_SCHEMA.ROUTINE_COLUMNS.COLUMN_DEFAULT`
138+
- `INFORMATION_SCHEMA.VIEWS.VIEW_DEFINITION`
139139

140140
- OBJECT_DEFINITION() function
141141

0 commit comments

Comments
 (0)