I just read this question when I wondered how complex I should build my queries.
Until now, I just built a String using StringBuilder, because in this application only select, update, insert and delete are used. Now I was also wondering about correct escaping, when I asked myself, why escaping is not just escaping those signs '
to this \'
.
Is there a more complex behaviour behind escaping or would this be complete?
Thanks for input!