News for hackers. Stuff that matters.
Re:SQL: One of the most valuable skills by Ma8ee on Monday February 18, 2019 @01:33AM (#19188980)
I’ve seen queries returning html and JavaScript
Re:SQL: One of the most valuable skills by richpimp on Monday February 18, 2019 @11:16AM (#19191724)
It 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..
Re:SQL: One of the most valuable skills by Ma8ee on Tuesday February 19, 2019 @10:40AM (#19199654)
The worst thing is that the guilty programmer probably felt very clever when he wrote the code.