Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 
 

Oracle Get_raw Function

Oracle Tips by Burleson Consulting

Advanced Oracle Utilities: The Definitive Reference by Rampant TechPress is written by top Oracle database experts (Bert Scalzo, Donald Burleson, and Steve Callan).  The following is an excerpt from the book.

Get_raw is a function that reads data and returns it as a RAW. The peek parameter allows one to look ahead in the buffer without actually consuming the message. The len parameter allows specifying the number of bytes to get.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

LEN

BOOLEAN

IN

1

PEEK

BOOLEAN

IN

FALSE

Table 6.162:  Get_raw Parameters

Get_text is a function that reads data, and returns it as a VARCHAR2.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

LEN

BOOLEAN

IN

1

PEEK

BOOLEAN

IN

FALSE

Table 6.163:  Get_text Parameters

Get_text_nchar is a function that reads data and returns it as an NVARCHAR2.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

LEN

BOOLEAN

IN

1

PEEK

BOOLEAN

IN

FALSE

Table 6.164:  Get_text_nchar Parameters

Open_connection is a function that simply opens a TCP/IP connection. It returns that connection information as type utl_tcp.connection..

 

Argument

Type

In / Out

Default Value

REMOTE_HOST

VARCHAR2

IN

 

REMOTE_PORT

PLS_INTEGER

IN

 

LOCAL_HOST

VARCHAR2

IN

NULL

LOCAL_PORT

PLS_INTEGER

IN

NULL

IN_BUFFER_SIZE

PLS_INTEGER

IN

NULL

OUT_BUFFER_SIZE

PLS_INTEGER

IN

NULL

CHARSET

VARCHAR2

IN

NULL

NEWLINE

VARCHAR2

IN

CRLF

TX_TIMEOUT

PLS_INTEGER

IN

NULL

Table 6.165:  Open_connection Parameters

Read_line is a function that reads a line of data from a service and returns a pls_integer for the number of characters read. The peek parameter allows one to look ahead in the buffer without actually consuming the message.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

VARCHAR2

IN | OUT

 

PEEK

BOOLEAN

IN

FALSE

Table 6.166:  Read_line Parameters

Read_raw is a function that reads a line of data from a service and returns a pls_integer for the number of bytes read.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

RAW

IN | OUT

 

LEN

PLS_INTEGER

IN

1

PEEK

BOOLEAN

IN

FALSE

Table 6.167:  Read_raw parameters

Read_text is a function that reads a line of data from a service and returns a pls_integer for the number of characters read.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

VARCHAR2

IN | OUT

 

LEN

PLS_INTEGER

IN

1

PEEK

BOOLEAN

IN

FALSE

Table 6.168:  Read_text Parameters

Write_line is a function that transmits a line of data to a service and returns a pls_integer for the number of characters sent.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

VARCHAR2

IN | OUT

 

Table 6.169:  Write_line Parameters

Write_raw is a function that transmits a line of data to a service and returns a pls_integer for the number of bytes sent.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

RAW

IN | OUT

 

LEN

PLS_INTEGER

IN

1

Table 6.170:  Write_raw Parameters

Write_text is a function that transmits a line of data from a service and returns a pls_integer for the number of characters sent.

 

Argument

Type

In / Out

Default Value

C

UTL_TCP.CONNECTION

IN | OUT

 

DATA

VARCHAR2

IN | OUT

 

LEN

PLS_INTEGER

IN

1

Table 6.171:  Write_text Parameters

For more information concerning this utility from the developer’s point of view, please refer to Chapter 9.


 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.