Skip to content

Conversation

@muskan124947
Copy link
Contributor

@muskan124947 muskan124947 commented Sep 9, 2025

Backported PR: #2751
This reverts commit 27a0bcd.

This change is being reverted due to differences in behavior observed between:

- getProcedures() vs getProcedureColumns()
- getFunctions() vs getFunctionColumns()

Specifically:

  • getProcedures() and getFunctions() return procedure/function names without numbered suffixes, since sys.all_objects does not expose numbered procedures.

  • In contrast, getProcedureColumns() and getFunctionColumns() query sp_sproc_columns, which does return numbered procedures, leading to inconsistencies across these APIs.

There was an effort done to make getProcedureColumns() and getFunctionColumns() work in #2743.
This PR addressed these differences, but SQL Server still supports numbered procedures, and users can benefit from grouped procedures (see here : sp_proc_columns)

To maintain compatibility and avoid unexpected discrepancies, this PR reverts #2705 and restores the original behavior.

@muskan124947 muskan124947 self-assigned this Sep 9, 2025
machavan
machavan previously approved these changes Sep 9, 2025
Ananya2
Ananya2 previously approved these changes Sep 9, 2025
@muskan124947 muskan124947 dismissed stale reviews from Ananya2 and machavan via 6aae528 September 9, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants