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: 2276
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: 10257
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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm


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