List of Tables

Title and Copyright Information

Send Us Your Comments


Documentation Accessibility
Related Documentation

1 Introduction

1.1 Overview
1.2 Heterogeneous Services Technology
1.3 Oracle Transparent Gateways

2 Configuring the Gateway

2.1 Configuring the Gateway
2.1.1 Task 1: Choose a System Identifier for the Gateway
2.1.2 Task 2: Customize the Initialization Parameter File
2.2 Configuring Oracle Net Services Listener for the Gateway
2.2.1 Task 1: Configure Oracle Net Services TNS Listener for the Gateway Example of Address to Listen On in listener.ora File Example of Gateway to Start in listener.ora File
2.2.2 Task 2: Stop and Start the TNS Listener for the Gateway
2.3 Configuring the Oracle Database Server for Gateway Access
2.3.1 Configuring Oracle Net Services for the Oracle Database Server Configuring tnsnames.ora
2.4 Creating Database Links
2.5 Gateway Password Encryption Tool
2.6 Configuring the Gateway for Multiple Sybase Databases
2.6.1 Multiple Databases Example: Configuring the Gateway
2.6.2 Multiple Databases Example: Configuring the Sybase Environment
2.6.3 Multiple Databases Example: Configuring Oracle Net Services Listener
2.6.4 Multiple Databases Example: Stopping and Starting the TNS Listener
2.6.5 Multiple Databases Example: Configuring the Oracle Database Server for Gateway Access
2.6.6 Multiple Databases Example: Accessing Sybase Data
2.7 Performing Configuration Tasks
2.7.1 Configuring for Two-Phase Commit Task 1: Create a Recovery Account and Password Task 2: Create the Transaction Log Table
2.7.2 Specifying an Owner

3 Sybase Gateway Features and Restrictions

3.1 Using the Pass-Through Feature
3.2 Executing Stored Procedures and Functions
3.2.1 Return Values and Stored Procedures
3.2.2 Result Sets and Stored Procedures OCI Program Fetching from Result Sets in Sequential Mode PL/SQL Program Fetching from Result Sets in Sequential Mode
3.3 Database Compatibility Issues for Sybase
3.3.1 Chained Mode
3.3.2 Column Definitions
3.3.3 Naming Rules Rules for Naming Objects Case Sensitivity
3.3.4 Data Types Binary Literal Notation Data Type Conversion
3.3.5 Queries Row Selection Empty Strings Empty Bind Variables
3.3.6 Locking
3.4 Known Restrictions
3.4.1 Transactional Integrity
3.4.2 Transaction Capability
3.4.3 COMMIT or ROLLBACK in PL/SQL Cursor Loops Closes Open Cursors
3.4.4 Stored Procedures
3.4.5 Pass-Through Feature
3.4.6 Sybase NCHAR and NVARCHAR Data Types
3.4.7 SQL Syntax WHERE CURRENT OF Clause CONNECT BY Clause ROWID Subqueries in INSERT Statement EXPLAIN PLAN Statement
3.4.8 SQL*Plus COPY Command with Lowercase Table Names
3.4.9 Database Links
3.5 Known Problems
3.5.1 FLOAT Data Type
3.5.2 VARBINARY Data Type
3.5.3 Encrypted Format Login
3.5.4 Date Arithmetic
3.5.5 Sybase IMAGE and TEXT Data Type
3.5.6 String Functions
3.5.7 Schema Names and PL/SQL
3.5.8 Data Dictionary Views and PL/SQL
3.5.9 Stored Procedures

4 Case Studies

4.1 Case Descriptions
4.2 CD-ROM Contents
4.3 Demonstration Files
4.4 Demonstration Requirements
4.5 Creating Demonstration Tables
4.5.1 Demonstration Table Definitions
4.5.2 Demonstration Table Contents
4.6 Case 1: Simple Queries
4.7 Case 2: A More Complex Query
4.8 Case 3: Joining Sybase Tables
4.9 Case 4: Write Capabilities
4.9.1 DELETE Statement
4.9.2 UPDATE Statement
4.9.3 INSERT Statement
4.10 Case 5: Data Dictionary Query
4.11 Case 6: The Pass-Through Feature
4.11.1 UPDATE Statement
4.11.2 SELECT Statement
4.12 Case 7: Executing Stored Procedures

A Data Type Conversion

A.1 Data Type Conversion

B Supported SQL Syntax and Functions

B.1 Supported SQL Statements
B.2 Oracle Functions
B.2.1 Functions Not Supported by Sybase
B.2.2 Functions Supported by Sybase
B.2.2.1 Arithmetic Operators
B.2.2.2 Comparison Operators
B.2.2.3 Group Functions
B.2.2.4 String Functions
B.2.2.5 Other Functions

C Data Dictionary

C.1 Data Dictionary Support
C.1.1 Sybase System Tables
C.1.2 Accessing the Gateway Data Dictionary
C.1.3 Direct Queries to Sybase Tables
C.1.4 Supported Views and Tables
C.2 Data Dictionary Mapping
C.2.1 Default Column Values
C.3 Gateway Data Dictionary Descriptions

D Heterogeneous Services Initialization Parameters

D.1 HS Initialization Parameter File Syntax