In a recent interview I was asked to name a built-in function(s) that cannot be called from inside a stored procedure or a user defined function (both scalar and table-value). I didn't know the answer to the question and gave the generic "I don't know but I'd love to find out."
It turns out after doing a bit of research that I'm no closer to the answer than when I was asked in the interview and now I'm wondering if it was a trick question.
Is this a trick question or is there a real answer?
Thanks.