| Next Tip?
Home » Archive

Articles in the DB2 Category

DB2 »

[9 Aug 2009 | No Comment | 138 views]

Using QMF.
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 139 views]

WHERE is for Rows and HAVING is for Groups
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 149 views]

Delete From Table1Where Id In (Select Id From Tabel1 As Temp Group By Id Having Count(*) >1)
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 205 views]

CS RR UR( added new for DB2V4 which stands for uncommited read which allows to retreive records from the space which has exclusive locks also but data integrity will be affected if this option is used )The best available option for data integrity & data concurrency is CS.
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 161 views]

TYPE 1 & TYPE 2 are specified when an index is created on the table. TYPE 2 index is the option which comes with DB2V4. With TYPE 2 index data can be retreived faster as only the data pages are locked and not the index pages. Hence TYPE 2 index is recommended.
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 155 views]

CURRENTDATA option ensures block fetch while selecting rows from a table. In DB2V4 the default has been changed to NO. Therefore it is necessary to change all the bind cards with CURRENTDATA(YES) which is default in DB2V3 & earlier to CURRENTDATA(NO).
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 188 views]

sql statement gets executed when we open cursor
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 134 views]

The answer is 18 characters.
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 124 views]

NO
Tweet This Post

DB2 »

[9 Aug 2009 | No Comment | 152 views]

ZERO
Tweet This Post