• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 457
  • Last Modified:

Octal Dump from Oracle table (How to ?)

Can anyone suggest the easiest way or different ways to perform oracle dump from an oracle table ?
Thank you,
navgup
0
navgup
Asked:
navgup
1 Solution
 
FHippieCommented:
\ Octal(DID U MEAN HEX?) Dump from Oracle table (How to ?)
\ ....oracle(DID U MEAN OCTAL?) dump from an oracle table ?
\
\ this is a SwiftForth solution   good luck
DECIMAL : -- POSTPONE \ ; IMMEDIATE     -- is now a comment as in ADA95
: $THEFILE  S" C:\DB\TABLE.???" ;
1000000 CONSTANT LN             -- Length   assume 1 meg is more than enough
CREATE DATA LN ALLOT
   
: DOIT          -- open input file and dump(unsigned) to screen with radix set to 8
    8 BASE !    -- in SwiftForth one could also use OCTAL here
    DATA        -- addr of data array used by UDUMP below
    DATA LN     -- addr and length used by read below
    $THEFILE R/O OPEN-FILE ABORT" File Open Error" >R

    -- DUMP here would produce a nice standard hex dump
    R@ READ-FILE ABORT" Read Error"  UDUMP  R> CLOSE-FILE DROP DECIMAL  
;
DOIT -- at compile time
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now