PDA

View Full Version : How To Update A Table From Excel


DeSorrow Golden
06-30-2003, 08:41 AM
How would I use a macro to update an Oracle table using Excel?

Daniel Morgan
06-30-2003, 12:19 PM
DeSorrow Golden wrote:
How would I use a macro to update an Oracle table using Excel?

I would like people like you to stay as far away from Oracle databases
as is possible
without resorting to the use of physical restraints and violence.

Learn SQL*Plus. There is no justification for either willfull ignorance
or making a mess.

Hopefully your DBA will stop you cold.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)

Karsten Farrell
06-30-2003, 12:59 PM
DeSorrow Golden was kind enough to write: How would I use a macro to update an Oracle table using Excel?

You don't indicate your level of expertise, so I don't know how to
answer your question. Search Google for "oracle excel vba" (without
quotes) and click on a few of the zillions of links that look
interesting to you.

I hope you have considered the security ramifications and data
corruption possibilities of what you're proposing. Downloading to Excel
is one thing ... updating from Excel is quite another (and most likely a
bad -- terrible -- idea that will be frowned upon by your DBA).
--
[:%s/Karsten Farrell/Oracle DBA/g]

Ryan Gaffuri
06-30-2003, 04:45 PM
"DeSorrow Golden" <desorrow_g@yahoo.com> wrote in message
news:b2785940.0306300841.572f9b12@posting.google.com... How would I use a macro to update an Oracle table using Excel?

asktom.oracle.com

He gives a few methods... all of which require quite a bit of technical work
to learn how to do it .I dont think they require much code. A simple macro
alone wont be enough. You will need to connect to the ODBC.

a side note. you can also embed Excel into forms by using the OLE handlers.
I havent looked at the 9i Forms demo, but there is a sample form and library
in the 6i demo. So I would 'assume' its in the 9i one.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service