Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • I agree, though the same problem can be re-forced with parameterized queries, by doing WHERE datecolumn = @dateParameter and then in the front end code, telling the DB driver that @dateParameter is of type varchar, and sticking "01/04/07" in it. The original inspiration for my question is that I suspect anyone who would tell me I'm crazy for doing that to a parameterized query would then, in the same breath, give some one line SO answer that looks like WHERE datecol = 'some string that looks like a date'(and expect a newbie should know it's just a hint/parameterize it to avoid issues) Commented Sep 6, 2017 at 11:03