Remix.run Logo
wvenable 8 hours ago

It's the optimizer caching the query plan as a parameterized query. It's not re-planning the index lookup on every execution.

SigmundA 8 hours ago | parent [-]

The parameter type is part of the cache identity, nvarchar and varchar would have two cache entries with possibly different plans.

8 hours ago | parent [-]
[deleted]