Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max number of Parameters

Status
Not open for further replies.

riarc

Programmer
Dec 6, 2001
44
US
Does anybody know the max number of parameters that you can append to a command object. I have a command object with 15 parameters appended to it and when I try to exec, I get a to many param error. The database is SQL server so I know I can have alot more than 15 parameters.
 
I've done 30 or so without a problem.

A SQL Server 7 stored procedure can handle 1024 parameters. You would think that VB/ADO could support what SQL Server could do.

Whether passing 1000 parameters is a good thing is a different story.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top