Modifying SQL query for security?? What is your opinion?

Original text of this message