Re: Split Field or Extract a part
From: Robert (anonymous_at_discussions.microsoft.com)
Date: 02/18/04
- Next message: newbie: "Script to copy table between databases"
- Previous message: Rohtash Kapoor: "Re: Split Field or Extract a part"
- In reply to: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Next in thread: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Reply: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 09:35:30 -0800
Sample Data:
description
-----------------------------------------------------------
---------------------
3 L,DSP16-24,R-Leaning/Shifted
1-4 Layer BD (1-10 Itms),20 R-Leaning/Shifted
DblStk Pull-Off,R-Leaning/Shifted
Reg Pull-Off,R-BadWood
Reg Pull-Off,R-Leaning/Shifted
Reg Pull-Off,10 R-Leaning/Shifted
Reg Pull-Off,R-Leaning/Shifted
P16-24,R-BadWood
6 L,P25-27,6 R-BadWood
L,P16-24,20 R-BadWood
1-4 Layer BD (11+ Itms),2 R-Leaning/Shifted,4 R-TiHi
1-4 Layer BD (1-10 Itms),2 R-Leaning/Shifted,R-BadWood
1-4 Layer BD (1-10 Itms),R-Leaning/Shifted
1-4 Layer BD (1-10 Itms),6 R-Leaning/Shifted
BANDS,3 L,P16-24,R-BadWood
BANDS,9 L,P16-24,3 R-BadWood
BANDS,2 L,P16-24,6 R-BadWood
1-4 Layer BD (1-10 Itms),4 R-BadWood
>-----Original Message-----
>Could you give sample data.
>
>---
>Rohtash Kapoor
>http://www.sqlmantra.com
>
>"Robert" <anonymous@discussions.microsoft.com> wrote in
message
>news:82f801c3f638$f650fc90$7d02280a@phx.gbl...
>> I have been trying for some time to capture a part of a
>> string to convert and sum a number accross my result
set.
>> The string looks like this: "abc,1 def,10 R-@@,xyz". I
>> have been looking for a way to split the field or
extract
>> a part of it specifically "10 R-@@" but the problem lies
>> in the order not being consistent. Sometimes the part
is
>> second, sometimes it is third and sometimes it ends up
at
>> the end. The only thing that remains constant is
the "R-
>> @" where the @ is some variable sequence of letters. Any
>> ideas to get me started?
>>
>> Thanks,
>>
>> Robert
>
>
>.
>
- Next message: newbie: "Script to copy table between databases"
- Previous message: Rohtash Kapoor: "Re: Split Field or Extract a part"
- In reply to: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Next in thread: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Reply: Rohtash Kapoor: "Re: Split Field or Extract a part"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|