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

Commit d10e536

Browse files
authored
Merge pull request #8218 from pmasl/patch-371
Update drop-event-session-transact-sql.md
2 parents 32dd4d4 + 3753d8a commit d10e536

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

docs/t-sql/statements/drop-event-session-transact-sql.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ manager: craigg
2929

3030
## Syntax
3131

32-
```
33-
32+
```
3433
DROP EVENT SESSION event_session_name
3534
ON SERVER
3635
```
@@ -43,14 +42,14 @@ ON SERVER
4342
When you drop an event session, all configuration information, such as targets and session parameters, is completely removed.
4443

4544
## Permissions
46-
Requires the ALTER ANY EVENT SESSION permission.
45+
Requires the `ALTER ANY EVENT SESSION` permission.
4746

4847
## Examples
49-
The following example shows how to drop an event session.
48+
The following example shows how to drop an event session.
5049

51-
```
52-
DROP EVENT SESSION evt_spin_lock_diagnosis
53-
ON SERVER;
50+
```sql
51+
DROP EVENT SESSION evt_spin_lock_diagnosis ON SERVER;
52+
GO
5453
```
5554

5655
## See Also

0 commit comments

Comments
 (0)