Manage Learn to apply best practices and optimize your operations.

Reading a binary field in an Oracle database with LotusScript

Use this LotusScript code to read a binary field in an Oracle database, allowing you to find Microsoft Word documents, spreadsheets, PDFs and JPEG files.

This LotusScript code can be used to read a binary field from an Oracle database. This field can generally contain any type of file, for example:

Related resources from SearchDomino.com:
An introduction to Lotus Enterprise Integrator (LEI)

Top 10 LotusScript tips

LotusScript Reference Center

  • Microsoft Word documents (.doc)
  • Excel spreadsheets (.xls)
  • PDF files (.pdf)
  • JPEG images (.jpg)

The following code shows how to recover a JPEG image (.jpg file).

LotusScript to read binary fields in an Oracle database
(Click on code for enlarged view and script download.)

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip library by member Rodrigo Oliveira. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on LotusScript

SearchWindowsServer
Search400
  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

SearchDataCenter
SearchContentManagement
Close