Class Constants.Sql
Inheritance
System.Object
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Sql
Fields
View SourceMaxParameterCount
The maximum amount of parameters that can be used in a query.
Declaration
public const int MaxParameterCount = 2000
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
The actual limit is 2100 (https://docs.microsoft.com/en-us/sql/sql-server/maximum-capacity-specifications-for-sql-server), but we want to ensure there's room for additional parameters if this value is used to create groups/batches.