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 > Cursors,Triggers in DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-05, 00:07
amit_sen amit_sen is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Cursors,Triggers in DB2

hi guys i am a newbee here
plz!! help me!! my exams is on 12 dec

Q1) how cursors,triggers,functions are maintained in db2 product?

Q2) DB2 architecture defining logical n physical data structure?

Q3) on what model db2 is based?

U can also refer a site where i can get the info!!
plz!! plz!! help!!

thnx!!
Reply With Quote
  #2 (permalink)  
Old 11-29-05, 03:23
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
exam

as always, too late...
it is not possible to explain in some days the complete DB2 terminology and architecture. You will have to study day and night.
Cursor : is part of sql instructions : declare cursor/open cursor...
to fetch data from a database
triggers are db2 objects that are fired whenever the depending table is hit in a specified condition : update/delete/insert..
functions : are DB2 or programming objects that can be defined and called in a user program : eg substr(col,1,1) where substr is a build in function
the architecture and model are basically explained in the administration guides of DB2 documentation. all doc is available online en public...
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #3 (permalink)  
Old 11-29-05, 10:04
Wim Wim is offline
Registered User
 
Join Date: Nov 2004
Posts: 1,279
Quote:
Q2) DB2 architecture defining logical n physical data structure?
Read this paper about logical and physical data structures.
In two words:
Logical: about entities, its data elements and relations between entities.
Physical: how things are implemented in the database, entities become tables, data elements fields, relations become FK's and a lot of performance related decisions (indexes, tablespaces, ...) and ease-of use (views, UDF's, SP's).
Quote:
Q3) on what model db2 is based?
Relational calculus (?)
__________________
With kind regards . . . . . SQL Server 2000/2005/2008/2008 R2 Earned beers: 16
Wim
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages
Reply With Quote
  #4 (permalink)  
Old 11-29-05, 15:33
urquel urquel is offline
Registered User
 
Join Date: Aug 2004
Posts: 330
The ideal answer to most exam questions is very likely to be something that the instructor said in class. Check to see if you took notes, or go to the instructor's office and shoot the breeze with him/her and casually bring up the topics that you need info on.
Reply With Quote
  #5 (permalink)  
Old 11-30-05, 08:28
amit_sen amit_sen is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
thx!! guys 4 ur help!!
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