Dba: Does OPTIMIZE FOR UNKNOWN do anything for table-valued variables/parameters?
Does OPTIMIZE FOR UNKNOWN do anything for table-valued variables/parameters?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(dba.stackexchange.com/users/277982/j-mini)J. Mini
(dba.stackexchange.com/users/220697/charlieface)Charlieface
(dba.stackexchange.com/users/1192/paul-white)Paul White
A special thanks goes out to the (dba.stackexchange.com/questions/346346/does-optimize-for-unknown-do-anything-for-table-valued-variables-parameters)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
sql-server table-variable hints sql-server-2022 table-valued-parameters