home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!hayes!fgreene
- From: fgreene@hayes.com
- Newsgroups: comp.databases.oracle
- Subject: Re: Importing files from LOTUS
- Message-ID: <6625.2b4956ee@hayes.com>
- Date: 5 Jan 93 09:37:50 EDT
- References: <31379@nntp_server.ems.cdc.com>
- Organization: Hayes Microcomputer Products, Norcross, GA
- Lines: 57
-
- In article <31379@nntp_server.ems.cdc.com>, rsnyder@ems.cdc.com (Richard Snyder) writes:
- > We have an application that requires data to be imported to Oracle
- > tables from a LOTUS spreadsheet. I don't believe there is any
- > Oracle utility to do this. However, I would like the benefit of others
- > experience as to how to go about this. The following comes to mind:
- >
- > 1) Are there any Oracle utilities to do the import written by
- > Oracle, LOTUS or others?
- > 2) If not what is the best approach to import the LOTUS data?
- > a) Write a script in LOTUS to do the import directly.
- > b) Put the LOTUS data into a flat file and then reformat the flat
- > file to an Oracle Import format.
- > c) Some other method.
- >
- > Any information, ideas, experience will be helpful.
- >
- > Thanks,
- >
- > Richard Snyder
- > rsnyder@ems.cdc.com
- >
- > Empros Systems International division of Ceridian Corp.
- >
- > (612)553-4327
- >
-
-
- Easiest way to transfer data from Lotus to Oracle is to utilize an
- intermediate flat file. Simply select the columns desired in the Lotus
- spreadsheet and print to a disk file. Lotus will assign the automatic
- extension of .PRN to the file.
-
- Load into Oracle with the standard loader routine using the fixed
- format style. In my version 6.0 Utility manual this is shown as Case 2.
-
- One danger to watch out for. If the last column in the original
- Lotus spreadsheet is null, Lotus puts nothing in the output file. When
- oracle tries to read in the record, it will error when it attempts to read
- this missing column and reject the record. Easiest way around this
- limitation is to create a dummy column at the extreme right side of the Lotus
- sheet and then artificially place an entry in each occurance. In this
- fashion, Lotus will transfer the previous missing column as blanks rather
- than ignore it. When you do the load into Oracle, just ignore the final
- column.
-
- ----------------------------------------------------------------------------
- | Frank Greene | ////// ////// |
- | DELPHI SYSTEMS, Inc. | //// //// |
- | Telephone [615] 458-6032 | //// //// ////// |
- | Compuserve 74200,427 | //// //// //// |
- | 324 Ootsima Way | //// //// //// |
- | Loudon, TN 37774 | ////// ////// ////// |
- ----------------------------------------------------------------------------
- | Of course, any opinions or suggestions are strictly my own |
- ----------------------------------------------------------------------------
-
-
-