Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Adding a new column to an exsisting table....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Dec 22, 2008 9:39 pm    Post subject: Adding a new column to an exsisting table....
Reply with quote

Hi everyone,
I have a table wich has some 32lacks of records, i will be adding a new column to it. I will be first implementing the changes in the dev version of the table.
Now the table is loaded by first getting values for it from other tables. I will be making changes in this fetch queries to get the values for an additional column.
Now to be sure of the changes in the Dev version of the table, such that the new column gets populated with appropriate values, what can be the test cases to verify that my code is working.

I will be doing a count* for sure to check the prod and dev version.
what can be the other cases.

PLEASE REPLY ASAP
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2181
Location: @my desk

PostPosted: Mon Dec 22, 2008 9:46 pm    Post subject:
Reply with quote

Quote:
I will be making changes in this fetch queries to get the values for an additional column.
Validate the correctness of these values.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Dec 22, 2008 10:19 pm    Post subject:
Reply with quote

Hello,

Quote:
I will be doing a count* for sure to check the prod and dev version.
what can be the other cases.
How will a count ensure the content is correct?

Please define "the other cases" and we may be able to offer suggestions.
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Tue Dec 23, 2008 5:12 pm    Post subject: Running a sum(clumn_name)....
Reply with quote

I will be doing a sum for a column....so that the total sum for that column in both tables remains the same....

I wnt to know what can be the other test case...
any suggestions....
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Tue Dec 23, 2008 5:20 pm    Post subject: Reply to: Adding a new column to an exsisting table....
Reply with quote

Quote:
I wnt to know what can be the other test case...

congruence checking depend heavily on the data, very little we can suggest
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us