SQL strings should always be in the hands of a DBA, not a developer. The RDBMS should get your request in the form of a SP call and get the data you need in the form of cursors.
So, SQL strings belong to the metal, not the UI.
So, SQL strings belong to the metal, not the UI.
Though there are certainly cases where it helps to be able to find someone more experienced and knowledgable than you.
Or perhaps you're a DBA that's tooting your horn so loudly that you don't believe anyone can do what you do.
I thought this thinking was 10 years dead at this point.
And, to be fair, having seen some of the abominations people have committed with SQL, I only half blame them.
But the issue is with saying "no developer should be writing SQL strings, ever".
It's like saying "no designer can handle HTML, leave that to the professionals".