Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: combining two fields in an SQL statement


Message #1 by Dennis <dennist@g...> on Thu, 18 Oct 2001 10:58:04 +0530
Nick,

       Try using the following query in SQL



example :



select * from users where RTRIM(LTRIM(FName))+' '+RTRIM(LTRIM(LName))='Nick Kershaw'



This should solve your problem.U can also use the UCASE() function to be doubly sure about the results.



all the best,

Dennis.








  Return to Index