How to add more than 10000 parameters to a single sql command

后端 未结 2 1879
滥情空心
滥情空心 2021-01-14 09:31

I want to add more than 10000 parameters to a single sql command. How it possible? As far i know 2100 parameters a single sql command.

2条回答
  •  忘掉有多难
    2021-01-14 10:00

    You can't. SQL Server supports a maximum of 2100 parameters.

    Your only option is to generate a SQL string containing all those parameter values.

    Incidentally, SQL CE does not have this limitation.

提交回复
热议问题