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

Increase the length of a column through ALTER command


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

New User


Joined: 10 Aug 2007
Posts: 7
Location: india

PostPosted: Tue Aug 14, 2007 3:05 pm
Reply with quote

hi ,

can we drecrease or increase the length of a column through ALTER command in db2????

Thanks in advance...
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Tue Aug 14, 2007 5:35 pm
Reply with quote

SQLCODE -190 You cannot change a column's data type and length (other than increasing the length of a VARCHAR column as of DB2 V6).
Back to top
View user's profile Send private message
manojraja

New User


Joined: 10 Aug 2007
Posts: 7
Location: india

PostPosted: Thu Aug 16, 2007 10:46 am
Reply with quote

Thanks a lot.....
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:


Back to Top