SQL Server Performance

sub string question

Discussion in 'SQL Server 2008 General Developer Questions' started by kdineshbabuct, Jul 30, 2009.

  1. kdineshbabuct New Member

    I am new to sql. i am using sql server 2005.I need to use substring function with only two parameter
    substring(text,start) like .dot net
    as of now i saw only function like this
    substring(text,start,length)
    is there any method like this .if not please send user defined funtion which will solve my issue
    Regards
    Dinesh Babu.k
  2. FrankKalis Moderator

    Can you please describe what you are trying to do?
  3. Adriaan New Member

    Use LEN(text), or a number that will be high enough for "all" situations.

Share This Page