Timeline for What does Robert C. Martin mean by SQL being unnecessary?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 27, 2018 at 15:25 | comment | added | John Bode |
@RobertHarvey: I would assume that's the case. For my part, I mostly do server-side work in C and C++, so I still see occasionally see (thankfully rare) examples of people just sprintf -ing dynamic SQL, which is Not How You Do It.
|
|
Feb 26, 2018 at 22:39 | comment | added | Robert Harvey |
While sprintf doesn't contain the kind of sanitization that SQL requires, the functions that are designed specifically for this purpose do, and are perfectly safe. Example: SqlQuery in Entity Framework.
|
|
Feb 26, 2018 at 22:37 | history | answered | John Bode | CC BY-SA 3.0 |