home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / oracle / 2681 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  2.9 KB

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