On Jul 17, 9:04*am, Philip Wright <pvws...@bellsouth.netwrote:
Quote:
Ty wrote:
Quote:
I'm new to SQL but not Excel
|
>
Quote:
I was given a Excel spreadsheet with Employee names. *I have a large
database with a Personal Table with Employee names and a whole list of
other tables that I'm used to running queries. *I'm still new to
queries.
|
>
Quote:
I can run queries using the Pers_Table with employees and other
tables. *How can I import the Excel sheet and use it as the Pers table
with only the names of the 10 employees listed in the Mainframe export
of Employees.
|
>
Quote:
My files:
Mainframe.xls for 10 mainframe users.
|
>
Quote:
My tables:
Auth_id for user id's
CostCtr for Cost center codes
|
>
Quote:
I'm attempting to do the above in MS Access.
|
>
Quote:
Is there a way to do the above via SQuirreL SQL(an open-source Java
SQL Client program) on a DB2 database?
|
>
>
I'm not clear on what you are trying to accomplish, but you can query
most major SQL databases (including DB2) directly from Excel using a
little VBA and ADO. I can posts links to examples if you desire.
>
-Philip- Hide quoted text -
>
- Show quoted text -
|
I'm trying to restrict my query to the list of names in the Excel s/
s(spreadsheet).
Here are some steps given to me. I will attempt to do this:
Drag a common field (perhaps EmployeeID) from the Excel table to the
Pers_Table.
This operation is called "creating an inner join". Run the query. It
will now restrict the query to the list in the Excel file.