Home Forums SQL Server 2008 T-SQL (SS2K8) How to Identify name starting with a specific letter without using like operator? RE: How to Identify name starting with a specific letter without using like operator?

  • Could do something odd like this: -

    WHERE Names = STUFF(Names,1,1,'A')

    That'd tell you if the "Names" started with an A.


    Forever trying to learn
    My blog - http://www.cadavre.co.uk/
    For better, quicker answers on T-SQL questions, click on the following...http://www.sqlservercentral.com/articles/Best+Practices/61537/
    For better, quicker answers on SQL Server performance related questions, click on the following...http://www.sqlservercentral.com/articles/SQLServerCentral/66909/