473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Insert data from excel sheet to oracle table periodicaly

I need to insert and update every day data of employees from excel sheet to oracle table

and every day i have to make the same charge to the oracle table in specific hour

can somobody help me please...


thank
Sep 28 '07 #1
4 7489
debasisdas
8,127 Expert 4TB
Thread moved to Oracle Forum.
Sep 29 '07 #2
Save your Excel file in CSV Format.
Use SQL LOADER to load data to Oracle.

You can create a bat file to run sql loader every day after updating and saving the excel file as CSV.

Hope it helps


I need to insert and update every day data of employees from excel sheet to oracle table

and every day i have to make the same charge to the oracle table in specific hour

can somobody help me please...


thank
Sep 29 '07 #3
I do this

LOAD DATA
INFILE 'c:\carga'
INTO TABLE empleado
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
(tarjeta, nombre, tiponomina)

but I get this error
invalid sql statment

I Using oracle express

I dont know if I need to do this in a procedure or package for use data loader. now I only do it in the sql command
Sep 29 '07 #4
I alredy know how to charge de data I only make an external table an after I do an insert into my table from external table and its all rigth but now I need to make this automaticI try a file.bat but I get and error when I run it.


the error star when star read in organizacional external part of the script

create table external2
(
camp1 char(5),
camp3 varchar2(2),
camp3 varchar2(30)
)
organization external
(
type oracle_loader
default directory external1
access parameters

(

records delimited by newline
fields terminated by ","
(

camp1,
camp2,
camp3 )

location(carga.csv')

)

reject limit unlimited
;



if some body can help I'll be thankfull
Oct 1 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mzkhan | last post by:
Hi , Here is the situation: I am creating a web page from a perl script.. this web page has checkboxes which are from an oracle table - From this page I am creating sql query and passing the...
0
by: Harshal | last post by:
Hi all, we are trying to load Korean data from a Excel Sheet in to Oracle Database (8.1.7.3 with NLS_LANG=American_America.UTF8) We successfully transferred the Unicode file to our Unix...
2
by: Niyazi | last post by:
Hi, I have to retrieve a data from AS400 DB2 and after working with data I have to export into one of existing Excel file. I can connect into specific library in AS400 DB2 using AS400...
3
by: Mads Petersen | last post by:
I'm stuck in this code. Hope you can and will help me. I launch it from excel. I have made the following code work, but not as i whant. I need the ranges to be working with something like xlDown....
11
by: Hi5 | last post by:
Hi, I am new to access I usedto work in Oracle and Mysql. I am after a way that enables me to populate a database I designed in access with lots of data which can be sorted in excel sheets, ...
0
by: Mamatha | last post by:
Hi When i clicked a button, i want to insert data from listview in VB.NET to Excel sheet. If you know the solution either above or below is ok for me. I know how to insert from a textfile,but...
3
by: jelinjose | last post by:
Hi, I have created a table with table name T1 with a particular schema. I have entered the data in an excel sheet in the particular schema above and saved as T2.dmp file. I would like to know...
1
by: Userdom | last post by:
Hi, I need to charge the list of employees from excel sheet that I Have in C:\ directory to oracle table and I need to do this every day at specific hour is like insert and update from excel to...
0
by: steve waugh | last post by:
Hi All I want to upload the data from excel sheet to oracle Data Base's Table thorugh ASP.NET 2.0. i also want to perform all validations on excel's Row means Data should not contain & or '...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.