Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I written this query,for fetching data from PostgreSQL to show in my HTML Page without space in text box , SELECT * from table name where column name='"+variable name.trim()+"';

but trim() function in query doesn't worked.

Does PostgreSQL supports trim() function ?if no what is other way to remove spaces?

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.