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 > db2 V 7 alter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-16-06, 10:50
sahana sahana is offline
Registered User
 
Join Date: Sep 2003
Posts: 36
db2 V 7 alter

there is a requirement to change the existing decimal (20,3) datatype to decimal (25,3) datatype in a table with records. if i m correct one cannot alter the column length to increase the length.
I drop and recreate the table with the increased length after a unload.
if the data is loaded back to the newly created table with the increased col length, will the load be succesful.

pls suggest any inputs to handle this scenario
Reply With Quote
  #2 (permalink)  
Old 10-16-06, 12:02
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,303
you are correct, and you would still us the same load card that got created from thhe unload

Isn't DB2 fun!
__________________
Brett
8-)

It's a Great Day for America everybody!

dbforums Yak CorralRadio 'Rita
dbForums Member List
I'm Good Once as I ever was

The physical order of data in a database has no meaning.
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