I'm new to SQL but not Excel
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.
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.
My files:
Mainframe.xls for 10 mainframe users.
My tables:
Auth_id for user id's
CostCtr for Cost center codes
I'm attempting to do the above in MS Access.
Is there a way to do the above via SQuirreL SQL(an open-source Java
SQL Client program) on a DB2 database?
Thanks.. 5 2402
Ty wrote:
I'm new to SQL but not Excel
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.
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.
My files:
Mainframe.xls for 10 mainframe users.
My tables:
Auth_id for user id's
CostCtr for Cost center codes
I'm attempting to do the above in MS Access.
Is there a way to do the above via SQuirreL SQL(an open-source Java
SQL Client program) on a DB2 database?
Thanks..
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
On Jul 17, 9:04*am, Philip Wright <pvws...@bellso uth.netwrote:
Ty wrote:
I'm new to SQL but not Excel
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.
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.
My files:
Mainframe.xls for 10 mainframe users.
My tables:
Auth_id for user id's
CostCtr for Cost center codes
I'm attempting to do the above in MS Access.
Is there a way to do the above via SQuirreL SQL(an open-source Java
SQL Client program) on a DB2 database?
Thanks..
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.
Ty wrote:
>
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.
Now I understand. Unfortunately I have never used SQuirreL, but I
just looked at their website and looks like the kind of thing that
SQuirreL should be able to accomplish. I still think that it would
be less coding to use ADO and have the join returned as an ADO resultset.
-Philip
On Jul 17, 6:46*pm, Philip Wright <pvws...@bellso uth.netwrote:
Ty wrote:
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.
Now I understand. Unfortunately I have never used SQuirreL, but I
just looked at their website and looks like the kind of thing that
SQuirreL should be able to accomplish. I still think that it would
be less coding to use ADO and have the join returned as an ADO resultset.
-Philip
OK.. I might try that. What examples do you have? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Alliet |
last post by:
Hello,
I'm having a bit of a problem with ASP and Excel. A client has developed
his own program, which calculates alot of financial stuff, in excel. I'm
doing his websites and he has requested the ability to do the same thing
his program does, but through the website. Because his excel program is
a dozen worksheets (all packed with endless rows of formulas) long, i
thought it'd use excel as backbone of the webprogram (don't worry, the...
|
by: Oded |
last post by:
Hi,
I'm trying to export an ASP based report to Excel while preserving its
display properties. I've added:
Response.ContentType="application/vnd.ms-excel", and it works fine for
several clients. For other clients it displays an emptry excel sheet.
I'm not sure, but i think it has something to do with the excel version
installed on clients - empty sheets were displayed for Excel 2000 clients
while clients running Excel 2002 displayed the...
|
by: Mike Caputo |
last post by:
I'm setting up an auto e-mailer in VB.NET to send daily reports to clients.
I have the main part of that all set, but there are a couple of things I'm
not quite sure on:
1) I'll be sending about 10-20 reports, and am not quite sure how to queue
them. The reports are anywhere from 500K to 3MB, so I imagine this is
fairly important. Does the SMTPMail object handle this automatically, or do
I need to implement something to wait for each...
|
by: ciruliz ciruliz |
last post by:
In Excel there is one greate feature - I can create table with ole
object field type & put excel document in it, then in table
view when double-clicking on that field , excel document opens in excel
window
how can i do this in VB.NET ?
I've found in Ms Access macros , I can do this with ole container
object, launching external excel from it automatically. but there is no
ole support in VB.NET. Any ideas?
|
by: Ivan Lozada |
last post by:
Hi there,
I developed a simple VB executable, i.e. x.exe, that manipulates an Excel
File. I have the full Microsoft Office set in my development PC. My question
is: can this program x.exe run in a PC that does not have Excel installed? Is
there a re-distributable that can be included in a Setup Program?, or you
must have Excel in every PC where I would like this program to run?
Thanks to anybody who takes the time to provide any...
| |
by: Mark Rae |
last post by:
Hi,
My client has asked me to provide a "quick and dirty" way to export the
contents of a DataGrid to both Excel for analysis and Word for editing and
printing, so I'm investigating client-side automation.
N.B. the environment is a totally enclosed intranet, all the client machines
have WinXP, IE6 and Office Pro 2003 with all the latest SPs, and the IE
security settings are sufficient to allow the Local Intranet Zone to
instantiate...
|
by: dt |
last post by:
I downloaded Microsoft Office 2003 Reference Schemas from:
http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-354...
Then I tried to use JAXB on them, specifically excel.xsd and
excelss.xsd. The first one passes OK, but doesn't contain Worksheet
element, which is the root element for Excel 2003 documents saved as
XML. The other schema, excelss.xsd, contains the definition of this
element, but doesn't pass through JAXB....
|
by: AlexNunley |
last post by:
I am trying to dump data from an access query into excel so I can pretify it. I found sample code from an old access 97 book (The version of access in use)and tinkered it into working.
Well sort of. The error I get is usually a "Object Required" error, and it highlights the bolded section below. I have been through this thing backwards and forth and cannot figure it out. I am new to this whole thing, so be easy on me.
Thanks!
Alex
...
|
by: Suzette |
last post by:
I have an excel file that automatically updates when opened, pulling information from an Access database into into various pivot tables.
I created a macro in Access to perform various necessary functions with the data.
I want to be able to open an Access form that I created, and then hit a button that will run the macros and that will open the excel database.
The only problem that I am having is that when the excel file opens and tries...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |