3 ms·
I’ve seen queries returning html and JavaScript
by Ma8ee 8y ago
I’ve seen queries returning html and JavaScript
- richpimp 8y agoIt completely blows my mind when I see stuff like this. We're not all perfect programmers, I'm sure, but still. An alarm should go off in your head when the thought occurs to put front-end code into a query. The only exception I've encountered is if I want to inject some HTML formatting into a string for emails sent from SQL Server, but even then it's extremely limited in use, and I still think to myself, there must be a better way..
- Ma8ee 8y agoThe worst thing is that the guilty programmer probably felt very clever when he wrote the code.