Is there any relationship between the OLEDB Wait Type and functions? Trying to troubleshoot why I would have 77% of my waits as OLEDB wait type when we have no linked servers. I have a vendor database with a high number of both Table-valued functions and Scalar-valued functions and was curious if they could at all be related to the OLEDB wait type.
Most of the documentation I have found points to Linked Server queries for this wait type, but that's not the case for us.