terp_in_umcp
04-09-2007, 09:37 PM
Hi there...
My column from a table in sql has value "NEW" and sometimes "NEW ".....thats with 2 spaces behind it...
How do i get rid of it in my sql or asp....someone suggested TRIM??
Thanks!!
mysql="SELECT * FROM Test WHERE number='10'"
Set rs= Con.Execute( mySQL )
if rs("status")="NEW" then
...
else
...
end if
My column from a table in sql has value "NEW" and sometimes "NEW ".....thats with 2 spaces behind it...
How do i get rid of it in my sql or asp....someone suggested TRIM??
Thanks!!
mysql="SELECT * FROM Test WHERE number='10'"
Set rs= Con.Execute( mySQL )
if rs("status")="NEW" then
...
else
...
end if