Extra metadata lookup for stored procedures with named parameters
See original GitHub issueWhen calling a stored procedure with named parameters, the driver does an extra metadata lookup query per each invocation of the stored procedure call. The jTDS driver does not do any metadata lookup, even if parameters are set by name.
Also in case of Stored Procedure Call Stored Procedure directly without calling sp_executesql
Ref #263
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Parameter List for all SQL Server Stored Procedures and ...
In this tip we look at a simple query you can use to get a list of parameters for all stored procedures and...
Read more >TSql Getting meta data of stored procedure parameters
It's an attempt to extract your procedure creation up to the 'as'. SELECT --charindex('create proc',[definition]) as SubstringStartLocation ...
Read more >sp_describe_parameter_encrypti...
Analyzes the specified Transact-SQL statement and its parameters, to determine which parameters correspond to database columns that are ...
Read more >A complete guide to T-SQL Metadata Functions in SQL Server
This article describes metadata functions in SQL Server using T- SQL. ... views, constraints or stored procedures etc.
Read more >Azure Data Factory Lookup and Stored Procedure
A typical scenario for using the lookup would be to return one row of data that may include parameters to be used as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would be really nice to see this released! 😃
I created pr #547 to address the issue with calling stored procedures directly. I would appreciate getting reviews and feedback on that.
Notice that this still does not have the push for avoiding the metadata lookup with named params. Will be adding that soon to the same pr in another commit.