Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Database programming on Oracle & Sybase

Posted on 2001-09-16
Medium Priority
Last Modified: 2006-11-17
In DB2, for database programming, we can use:
1) Embedded Static SQL,
2) Embedded Dynamic SQL,
3) Call Level Interface (CLI), which is based on Microsoft's ODBC.

My questions are:
1. If I were to move to Oracle or Sybase, do I still have these choices?
2. Which are the preferred (or commonly used) methods?
Question by:yongsing
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

deva_kumar earned 150 total points
ID: 6486636
Oracle support all the above

1. PL/SQL for Static SQL

2. Dynamic SQL - Using DBMS_SQL Package

3. OCI - Oracle Call Interface (like API programing)


Expert Comment

ID: 6486652
Oracle support all the above

1. PL/SQL for Static SQL

2. Dynamic SQL - Using DBMS_SQL Package

3. OCI - Oracle Call Interface (like API programing)


Author Comment

ID: 6486808
>> 1. PL/SQL for Static SQL

It seems that the Oracle's equivalent of DB2's embedded static SQL is called Pro *C/C++. I don't know what's DB2's equivalent of PL/SQL.

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA:…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question