Solved

Options to parse table field?

Posted on 2014-10-28
3
120 Views
Last Modified: 2014-11-04
The challenge is trying to automate data extraction from a database, from the Laptop table,  in which the Description field has much of the content I need to get.

Within the Description field is:  RAM, CPU, Model, Screens Size and other specs I need. The goal is to separate out the specs into individual fields, into a new DB.

*There's no consistency in the field. On the front end, it was just treated as a text area. So a user would put in the specs in any order, or syntax, like "3GB" or "3GB RAM", or "RAM 3GB"

I perceive this as a mighty challenge...where should I begin?
0
Comment
Question by:sandshakimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40408472
Separate each element out, and create a table which correlates each element into the correct version.

So a table would have:

3GB                 Ram: 3Gb
3GB Ram        Ram: 3Gb
RAM 3GB        Ram: 3Gb

This way, the number of permutations of correct information gets reduced.
0
 

Author Comment

by:sandshakimi
ID: 40408550
Phllip, can you expand on that, more technically.

Keeping in mind that there are thousands of records, this needs an automation. Here's an example of what some fields look like.

Description Fieldfield1.PNG
0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
ID: 40408567
I don't know what you mean, "more technically".

You've posted this under Experts Exchange > Programming > Prog Languages > Query Syntax > Options To Parse Table Field, so I can't give you specific guidance about a programming language.

Your first line, "1GB Apple Powerbook G4 12-inch 1Ghz...", I would expect you to have several rows in another table:

1Gb
Apple
Powerbook
G4
12-inch
1Ghz

and each of which would tell you what characteristic are identified by that, together with a unified description:

1Gb                        Ram                       1 Gb
Apple                     Manufacturer       Apple Computers
Powerbook           Model                    Powerbook
G4                          Model 2                 G4
12-inch                  Screen size           12 inches
1Ghz                      Processor speed  1 Ghz

and then you match each string against this second table to get the characteristics.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In database programming, custom sort order seems to be necessary quite often, at least in my experience and time here at EE. Within the realm of custom sorting is the sorting of numbers and text independently (i.e., treating the numbers as number…
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question