Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


ROWID

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING
  View previous topic :: View next topic  
Author Message
ibmlearner
Member


Joined: 02 Dec 2006
Posts: 13

PostPosted: Thu Mar 08, 2007 8:18 pm    Post subject: ROWID Reply with quote

HI ALL..

WHAT IS ACTUALLY ROWID.

ITS FOR INDENTFYING THE ROW,MEANS THEN

WHAT IS THE USE OF INDEXES ???????

IS (UNIQUE) INDEX USES ROWID???

TIA.
_________________
Thanks & Regards
-------------------------
Learner
Back to top
View user's profile Send private message Send e-mail

Veera
Moderator


Joined: 22 Feb 2006
Posts: 111

PostPosted: Sat Mar 10, 2007 12:32 am    Post subject: Reply with quote

ROWID is a data type to store a unique Row IDentifier assigned by DB2.

Indexes are used to identify a unique tuple.( I mean entire columns of the record)

What do you mean by INDENTFYING THE ROW ??

Identifying by just the numbering of it ???

Or

Identifying by some value you provide to Table ??

First thing is possible by ROWID but not the second.

ROWID cant be used to identify the rows for a specific criteria , i mean its just the numbering for the rows which DB2 subsytem internally stores as a hidden column i guess

Normally we will provide some value in the where clause to fetch data
from DB2 in that case Indexes are in effect.

Select sal
From Emp
where sal = 100$ -> Here fetcing the data using a specif criteria like
where sal should be 100 cant be obtained by ROWID,

but your other query where you just want to fetch
the records from DB2 without any refernce to the
where clause specific condition like records
from 200 to 300 or so the ROWID can be used.

Thanks
Veera
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Subscripts vs. Indexes 3 Lghtning Lad 491 Thu Jan 21, 2010 8:46 pm
dbzTHEdinosauer View latest post
No new posts how to create alternate index using file-aid 5 RaviTejaG 2062 Wed May 20, 2009 3:38 pm
RaviTejaG View latest post
No new posts How many clustering indexes can be defined for a table? 1 Krishna 985 Sun Mar 29, 2009 11:29 pm
Krishna View latest post
No new posts Lot of updates have done on a table due to which indexes 1 Krishna 826 Sun Mar 29, 2009 11:11 pm
Krishna View latest post
No new posts How do you select a row using indexes in DB2? 1 Krishna 1151 Sun Mar 29, 2009 9:41 pm
Krishna View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB