Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Database programming on Oracle & Sybase

Posted on 2001-09-16
3
Medium Priority
?
349 Views
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?
0
Comment
Question by:yongsing
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
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)

0
 
LVL 1

Expert Comment

by:deva_kumar
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)

0
 
LVL 9

Author Comment

by:yongsing
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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Blockchain technology enhances society similar to the Internet. Its effects are broad, disruptive, and will boost global productivity.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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: https://www.percona.com/resources/we…
Suggested Courses

564 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