I have a simple question. Do I have to trim() the strings before using it in a select statement? for example: String thisString = request.getParameter("some"); thisString = thisString.trim(); . . . or is it irrelevant??
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Yes we can do trim function before select statement.This is very useful code also why because of not all database are not supported to trim function proprty.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.