RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:9:30-18:00
你可能遇到了下面的问题
关闭右侧工具栏
Advanced Data Access with ADO.NET and Oracle
  • 作者:xiaoxiao
  • 发表时间:2020-12-23 10:58
  • 来源:未知

Advanced Data Access with ADO.NET and Oracle

Bill Hamilton

August 2004

Applies to:   Microsoft ADO.NET 1.1   Oracle data types

Summary: Learn how to use ADO.NET 1.1 to retrieve data from complex Oracle data types. (28 printed pages)

Contents

IntroductionAnyBFILEIntervalLOBRAWREF CURSORROWIDTimestampUriTypeUser DefinedXmlTypeConclusionRelated Books

Introduction

The .NET Framework Data Provider for Oracle does not always make it easy to retrieve data stored in complex ways. This article discusses how to access data stored in the Oracle-specific data types listed in the following table:

Data TypeDescription
AnyData types used to explicitly define data types that can hold any type of data.
BFileA pointer to an operating system file containing unstructured binary data stored outside of the Oracle database.
IntervalData types that specify a time interval.
LOBData types that store unstructured binary data.
RAWData types that store binary data that is not interpreted by Oracle.
REF CURSORA PL/SQL pointer to a SQL cursor used to return a row from the database.
ROWIDData types that represent the specific address of a row in the database.
TimestampData types that extend the functionality of the DATE data type.
URIData types that store Uniform Resource Identifiers (URIs) that reference a document or a specific part of a document.
User-definedComplex data types created from basic Oracle data types and user-defined data types.
XMLTypeData types that store XML data.

The System.Data.OracleClient namespace contains types used to access Oracle data source using the.NET Framework Data Provider for Oracle. In addition to Oracle-specific versions of the DataReader, DataAdapter, Command, and Connection classes, the namespace contains types to support and facilitate working with Oracle data types. These are listed in the following table:

TypeDescription

OracleBFileClass that represents an Oracle BFILE data type.