Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

UTL_ENCODE , 4 of 7


UUENCODE Function

This function reads the RAW input string and encodes it to the corresponding uuencode format string. The output of this function is cumulative, in that it can be used to encode large data streams, by splitting the data stream into acceptably sized RAW values, encoded, and concatenated into a single encoded string. Also see "UUDECODE Function".

Syntax

FUNCTION uuencode(
   r          IN RAW,
   type       IN PLS_INTEGER DEFAULT 1,
   filename   IN VARCHAR2 DEFAULT NULL,
   permission IN VARCHAR2 DEFAULT NULL) RETURN RAW;

Pragmas

pragma RESTRICT_REFERENCES(uuencode, WNDS, RNDS, WNPS, RNPS); 

Parameters

Table 76-4 UUENCODE Function Parameters
Parameter  Description 
r
 

RAW string 

type
 

Optional number parameter containing the type of uuencoded output. Options:

complete--a defined PL/SQL constant with a value of 1. (default)
header_piece
middle_piece
end_piece 

filename
 

Optional varchar2 parameter containing the uuencode filename; the default is uuencode.txt 

permission

 

Optional varchar2 parameter containing the permission mode; the default is 0 (a text string zero). 

Returns

Table 76-5 UUENCODE Function Returns
Return  Description 
RAW
 

Contains the uuencode format string 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback