Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by amylashley

  1. amylashley

    Substring length unknown

    Ok thanks. I didn't need the LEN function. But the PatINDEX helped: KeywordBuys.URL,SUBSTRING(KeywordBuys.URL,charIndex('landerName',KeywordBuys.URL)+11,PATINDEX ( '%&misc%' , KeywordBuys.URL )-(charIndex('lander',URL )+11))
  2. amylashley

    Substring length unknown

    Is there a way using SQL Queries to extract a substring when the length of it is not known? It seems like such a simple thing but all I see is a SUBSTRING function that requires knowledge of the length of the substring in advance. Thanks

Part and Inventory Search

Back
Top