View Full Version : Loading data from multiple files
Guest
03-06-2005, 03:58 AM
Hi.
I have to load data from our order processig system into the
Datawarehouse.
File name format is dataDDMMYYYY.txt for example
data01012005.txt etc.
Is there any way to specify a mask wnen i want to reload data for
specific month or year?
Peter
Mark C. Stock
03-06-2005, 04:23 AM
<Peter_Jonson22@yahoo.co.uk> wrote in message
news:1110110331.468485.74240@z14g2000cwz.googlegroups.com... Hi. I have to load data from our order processig system into the Datawarehouse. File name format is dataDDMMYYYY.txt for example data01012005.txt etc. Is there any way to specify a mask wnen i want to reload data for specific month or year? Peter
SQL Loader?
If OS command line wildcards won't do it for you, try shell scripting or
windows host scripting to generate the load scripts and commands.
++ mcs
Rauf Sarwar
03-07-2005, 01:58 AM
Peter_Jonson22@yahoo.co.uk wrote: Hi. I have to load data from our order processig system into the Datawarehouse. File name format is dataDDMMYYYY.txt for example data01012005.txt etc. Is there any way to specify a mask wnen i want to reload data for specific month or year? Peter
To see e.g. all files for month 012005 do,
C:\> dir /b data*012005.txt
$ ls -b data*012005.txt
You can script it any way you want.
Regards
/Rauf
Guest
03-07-2005, 02:36 AM
Thanks for the suggestions.
Sorry I did not make it clear I am actually looking for a GUI tool
which can help me.
Something which will alow my customer to define mapping between file
and target table, specify file(s) to process and load data into the
database.
Scripting is way too complicated for the customers I am dealing with.
Peter,
U.M.G.I
Shamil ZALYALOV
03-07-2005, 03:54 AM
I guess you even know it - it's Oracle Warehouse Builder.
More info at: http://www.oracle.com/technology/products/warehouse/index.html
Cheers,
Shamil
<Peter_Jonson22@yahoo.co.uk> wrote in message
news:1110191801.003272.237100@f14g2000cwb.googlegroups.com... Thanks for the suggestions. Sorry I did not make it clear I am actually looking for a GUI tool which can help me. Something which will alow my customer to define mapping between file and target table, specify file(s) to process and load data into the database. Scripting is way too complicated for the customers I am dealing with. Peter, U.M.G.I
Rauf Sarwar
03-07-2005, 03:55 AM
Peter_Jonson22@yahoo.co.uk wrote: Thanks for the suggestions. Sorry I did not make it clear I am actually looking for a GUI tool which can help me. Something which will alow my customer to define mapping between file and target table, specify file(s) to process and load data into the database. Scripting is way too complicated for the customers I am dealing with. Peter, U.M.G.I
What is your Oracle version and OS that you are working with?
How do you want to load data into the database,
1) Push it into the database using e.g. SQL*Loader?
2) Pull it into the database from flat files using e.g. utl_file
package?
Google does not charge by the number of characters you post... feel
free to provide as much detail as you can.
Regards
/Rauf
Guest
03-07-2005, 04:56 AM
It is windows 2000 and Oracle 9i if it will help
Peter
Looks like we've got a tool you are looking for
VImp loads data from multiple tables or files into Oracle MS Sql Server
or any ODBC compliant Database
http://www.dbsoftlab.com/download.php?view.5
Mike
Malcolm Dew-Jones
03-07-2005, 12:22 PM
Peter_Jonson22@yahoo.co.uk wrote:
: Thanks for the suggestions.
: Sorry I did not make it clear I am actually looking for a GUI tool
: which can help me.
: Something which will alow my customer to define mapping between file
: and target table, specify file(s) to process and load data into the
: database.
: Scripting is way too complicated for the customers I am dealing with.
So write a script that shows a menu of options.
The user selects the menu option they want (including for example a file
to load). Your script converts that into a sql loader file that loads the
file. Then it displays the resulting log files in some organized manner.
You can make it as pretty and gui as you wish.
Hardest part is probably to display an easy, controlled, file select. On
Windows use Perl Tk::FileSelect, or visual basic (GetOpenFileName()?), or
there are myriad other options - perhaps really impress them by sending an
outlook mail message with a built in form that drives the load process and
sends any series error conditions back to the help desk...
Even a couple of DOS-ish batch files would probably work in a pinch -
hardest part would be selecting the files in that case.
$0.02
--
This space not for rent.
Peter
03-13-2005, 12:56 PM
Mike
Thaks for the tip
Will it load data from Pivot tables?
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
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.