SQLNumParams
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
Improvements in the database engine beginning with SQL Server 2012 (11.x) allow SQLNumParams to obtain more accurate descriptions of the expected results. These more accurate results may differ from the values returned by SQLNumParams in previous versions of SQL Server.
For more information, see Metadata Discovery.