SUBSTRING question
From: Skip (anonymous_at_discussions.microsoft.com)
Date: 09/27/04
- Next message: Anith Sen: "Re: How do i perform a case sensitive search??"
- Previous message: Michael: "How do i perform a case sensitive search??"
- Next in thread: Anith Sen: "Re: SUBSTRING question"
- Reply: Anith Sen: "Re: SUBSTRING question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 08:12:04 -0700
I have a field that is made up of several important values
all in one string. (Location.Serial# + '-' + ID). I need
help seperating this field in a query. I can use Substring
to take everything to the right of the '-'. Can anyone
tell me how to use substring to parse the information to
the left of the '-'. If I enter a negative value for the
length I get an error. I have also tried using the Left
and Right functions but I can't get the results I need.
Right and Left don't like the '-' for some reason. If
anyone can help me to figure out a way to query the
characters to the left of a non interger I would
apprecitate it. Thanks in advance.
- Next message: Anith Sen: "Re: How do i perform a case sensitive search??"
- Previous message: Michael: "How do i perform a case sensitive search??"
- Next in thread: Anith Sen: "Re: SUBSTRING question"
- Reply: Anith Sen: "Re: SUBSTRING question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|