If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 v/s oracle.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-28-04, 18:00
eskaysem eskaysem is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
DB2 v/s oracle.

Sorry to chose this as the title..
I wanted to know the DB2's equivalent od ROW-ID concept of oracle. If i do not explicitly mention during the DDL of Table creation (DB2) what is the other alternative?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 05-28-04, 18:40
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I am not sure about the row-id on Oracle, but in DB2 it must be defined as a column in the DDL to be used in SQL DML.

A possible workaround is to access data via a cursor and then update/delete the row "where current of cursor." This helps where a unique key does not exist.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On