IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to overide the isolation level


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthikuma

New User


Joined: 29 Mar 2005
Posts: 62

PostPosted: Thu Jul 28, 2005 9:38 am
Reply with quote

Hi,

plz help me i'm strugled in two interview.i've faced the same question in 2 interview.

1. how to overide the isolation level.(i said that by using parm).the interviewr told it's not correct.any expert plz give me an good solution.how to overide the isolation level.

2. in db2 table we are having 1000 of records.for eg:employeeno ,code,salary,like that.whether it is possible for us to overide the primary key.whether we can able to insert null-value on primary.give me an god sugestions.

3. where the bind,plan,package stored.i told that sysibm,sysplan.interview told that on on eparticular table all these contents will be stored.which table?plz give an solutions.

Regards,
kumar.
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Thu Jul 28, 2005 3:31 pm
Reply with quote

2)

primery key means unique key in this you can write null values.but data in primary key can not change means you can not overide.




thanooz
Back to top
View user's profile Send private message
udaybarath

New User


Joined: 10 May 2005
Posts: 7

PostPosted: Thu Jul 28, 2005 3:40 pm
Reply with quote

The only way to override a primary key is

Insert a new value(promary key)
and delete the old value.
Back to top
View user's profile Send private message
vinayn

New User


Joined: 13 Jun 2005
Posts: 10

PostPosted: Fri Jul 29, 2005 9:32 am
Reply with quote

Hi Uday Bharath,

Pls state it clear that how to delete the old value., if at all we have deleted it, how abt the references of child table.

thanks ,
Vinay
Back to top
View user's profile Send private message
udaybarath

New User


Joined: 10 May 2005
Posts: 7

PostPosted: Fri Jul 29, 2005 9:45 am
Reply with quote

Hi vinay
the child reference table also u need to delete befor deleting the parent table.......

thanks
uday
Back to top
View user's profile Send private message
maggiebms

New User


Joined: 23 May 2005
Posts: 16

PostPosted: Fri Jul 29, 2005 12:50 pm
Reply with quote

Hello,

1. I think so the Isolation level can be overrided thru BIND option ( Isolation = (CS/RR))

2. Primary Key means that it should not contain any null and unique values. It is possible to override if it does contain any reference in another child table

If anything wrong , plz correct me....
Back to top
View user's profile Send private message
maggiebms

New User


Joined: 23 May 2005
Posts: 16

PostPosted: Fri Jul 29, 2005 12:52 pm
Reply with quote

Sorry for mistake, the answer for the second one is

2. the primary key does not contain any reference
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Program level statistics CICS 6
No new posts Feild level validation to test first ... JCL & VSAM 10
Search our Forums:

Back to Top