Enhance examples for @@SERVICENAME usage#10357
Conversation
Added examples for using @@SERVICENAME with default and named instances.
|
@way0utwest : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
@way0utwest : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit 8a933c8: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
There was a problem hiding this comment.
Pull request overview
This PR enhances the @@SERVICENAME documentation by expanding the Examples section to show expected output for both default and named SQL Server instances.
Changes:
- Refines the existing example description to explicitly target a default instance.
- Adds a second example demonstrating
@@SERVICENAMEbehavior for a named instance (example output shows the instance name).
| MSSQLSERVER | ||
| ``` | ||
|
|
||
| The following example shows using `@@SERVICENAME` for an named instance, named Localhost\SQL2022. |
|
#reassign:rwestMSFT |
Added examples for using @@SERVICENAME with default and named instances.