sql - Combining data from Excel with database -
This is probably a simple question, but I do not know what I'm doing in Excel, so hopefully someone Help please
I have been given an Excel spreadsheet that has two relevant columns in my work. The first column is the "external ID", and the second column is an "internal ID". I have to select a group of data outside of our database using the internal ID as the key, but then this data will be back in all external IDs Is required, and the only link between the internal / external is this spreadsheet.
For example, a line of spreadsheet looks like this:
ExtID IntID AB1234 2 I need it There is no way to select all the data related to Item ID # 2 in the database, but I have no way of obtaining "AB1234" from the database, so I need to return this data to "AB1234" using the spreadsheet .
What is the easiest way to accomplish this? Excel's version is Excel 2007, and the database is Oracle, if it's relevant.
Note that I have only allowed the production database to be read, which includes making tables and importing spreadsheet data is not an option.
edited on the basis of a comment
1 - Use MS Access to import Excel Sheet as table.
2 - Link to your database table, MS Access
External Data Tab-> Other Data Source-> ODBC Connection-> Your -> Select the table you want>
3 - You want to type an access query to compare prices
< P> Create-> Query Design-> Drop the desired tables, drag the line between them for the relationship, click Play Em>
Comments
Post a Comment