Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> using UTL_FILE and HEXTORAW()

using UTL_FILE and HEXTORAW()

From: CJ <spambox1_at_mindspring.com>
Date: 21 Apr 2006 11:50:46 -0700
Message-ID: <1145645446.593059.281010@t31g2000cwb.googlegroups.com>


need to write "binary" data, specifically a record separator byte (x1E), to a file. When I do so using "UTL_FILE.put_line(file_handle, HEXTORAW("1E"));" I end up with an ASCII hex string of "1" "E", two bytes not one with 0x1E followed by "newline."

  1. is put_line converting the HEXTORAW() output back to a string?
  2. how can I write a byte of x1E to a UTL_FILE.FOPEN() handle?

Thanks in advance.
CJ Received on Fri Apr 21 2006 - 13:50:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US