Octal Dump from Oracle table (How to ?)

navgup
navgup used Ask the Experts™
on
Can anyone suggest the easiest way or different ways to perform oracle dump from an oracle table ?
Thank you,
navgup
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
\ 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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial