Suppose I would do this in a query :
set DATEFIRST 1 --Monday
that will explicitly set the day of week to be regarded as the 'first'
But will this be the case for this transaction only, or will it be for all queries I run from this point on ?
That part is not mentioned in the documentation. At least I could not find it in this documentation docs
I am using sql server 2014
The answer in the dupe question helps alot. It explains the value is per session.
But another question pops up, when dotnet reuses the connection with its pooling mechanism, will this setting survive or not ?
I could not find that in the other question.