Topic: Performance of function of 1 times
There is such request
Select * from myTable Where userID = dbo.fn_current_user_id ()
Whether there is a possibility to give the help that function was fulfilled only 1 time, instead of for each record?
PS: for what reasons I do not know, but noted that the code works faster more low
Where userID = (Select dbo.fn_current_user_id ())