Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 1eae262

Browse files
authored
Merge pull request #15888 from icoric/patch-56
Added sql/sqlsyntax tags
2 parents 80618ee + 771659d commit 1eae262

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/t-sql/functions/has-dbaccess-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ monikerRange: ">=aps-pdw-2016||=azure-sqldw-latest||>=sql-server-2016||=sqlallpr
3636

3737
## Syntax
3838

39-
```
39+
```syntaxsql
4040
HAS_DBACCESS ( 'database_name' )
4141
```
4242

@@ -62,15 +62,15 @@ HAS_DBACCESS ( 'database_name' )
6262
## Examples
6363
The following example tests whether current user has access to the `AdventureWorks2012` database.
6464

65-
```
65+
```sql
6666
SELECT HAS_DBACCESS('AdventureWorks2012');
6767
GO
6868
```
6969

7070
## Examples: [!INCLUDE[ssSDWfull](../../includes/sssdwfull-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)]
7171
The following example tests whether current user has access to the `AdventureWorksPDW2012` database.
7272

73-
```
73+
```sql
7474
SELECT HAS_DBACCESS('AdventureWorksPDW2012');
7575
GO
7676
```

0 commit comments

Comments
 (0)