aspose file tools*
The moose likes JDBC and the fly likes Change column size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Change column size" Watch "Change column size" New topic
Author

Change column size

Joel Christophel
Ranch Hand

Joined: Apr 20, 2011
Posts: 225
    
    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: 19545
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change column size
 
Similar Threads
errors uploading an image to the database
NX: Programmatically sizing a Column in JTable
Linebreak in HTML/CSS within a table
Records display after re-sizing column size
JTable