Gentlemen .

 

I have records that contains part numbers and other data.

Multiple records may contain the same part number 

. (don't worry, other fields make the record unique J .)

 

PartNumber C(24)

 

12A456789-123

12A456789-123?

12A456789-?123

12A456789?123

12A456789-0123

12A456789-?2123

12A456789-?4123?

12A456789-2123?

12A456789-?1123

 

The question marks can be any ALPHA character (a-Z), if any.

The user enters the part number in a form.

I need to "FILTER" out the ALPHA for a valid match as a

valid entry need not contain the (?) ALPHA character: 

i.e. 12A456789-123 is the same as 12A456789-123A

i.e. 12A456789-123 is the same as 12A456789-A123

 

SCANing or DO WHILEing .

Sure, I can! Parsing the value for each record . all half million of them.

That's what was done in the past.

 

I'm considered creating a cursor with just the part numbers

containing the first nine characters and then parsing that table.

That's where I'm at currently!!

 

Are there any options that could be done with a single SQL Select

that I've missed. (READ: Really feeling stupid!)

 

Thanks for anything!

 

Best,

 

Francis I. Coppage, Jr.

-- "Two things are infinite: the universe and human stupidity; and I'm not
sure about the universe." 

... Albert Einstein

 




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/025101caa615$c1ac2990$45047c...@net
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to