File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Change column size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Change column size" Watch "Change column size" New topic
Author

Change column size

Joel Christophel
Ranch Hand

Joined: Apr 20, 2011
Posts: 241
    
    1

How would I go about changnig the size/length of a column? (e.g. 25 characters)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19845
    
  20

Use the ALTER [table_name] ALTER COLUMN [column_name] command.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Change column size