Trimming SQL varchar fields

C

Chris Kennedy

Is there any way to trim all the content coming out of a sql server in the
project without either setting ANSI NULL PADDING to off (which Microsoft
don't recommend) or doing the trim for every single field. There must be a
more obvious solution? I tried using the trim function in the stored
procedures' SELECT statement but that made the bound field non-updateable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top