Skip to content

Add enable_rpc/disable_rpc commands to mssqlclient.py#2134

Open
7own wants to merge 1 commit intofortra:masterfrom
7own:master
Open

Add enable_rpc/disable_rpc commands to mssqlclient.py#2134
7own wants to merge 1 commit intofortra:masterfrom
7own:master

Conversation

@7own
Copy link

@7own 7own commented Feb 27, 2026

Add shell commands to enable and disable the rpc out option for linked SQL servers via sp_serveroption.
This allows executing stored procedures remotely on linked servers directly from the SQL shell.

SQL (sa  dbo@master)> use_link SQL02
ERROR(SQL01\SQLEXPRESS): Line 1: Server 'SQL02' is not configured for RPC.

SQL (sa  dbo@master)> enable_rpc SQL02

SQL (sa  dbo@master)> use_link SQL02
SQL >SQL02 (sa  dbo@master)>

Add shell commands to enable and disable the 'rpc out' option for
linked SQL servers via sp_serveroption. This allows executing stored
procedures remotely on linked servers directly from the SQL shell.
@anadrianmanrique anadrianmanrique added the in review This issue or pull request is being analyzed label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in review This issue or pull request is being analyzed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants