It's real simple, in most cases. I just ask them how to get the current date and time in SQL Server. 😉
If you're sitting across the table from a candidate who can't answer that question, then you seriously need to hire a new recruiter. :unsure:
"Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho