[IQUG] resize columns of a very big table

Ron Watkins rwatkins at dssolutions.com
Mon Aug 6 06:15:10 MST 2018

You should check the size of the column FP and any advanced indexes on that column to see if a “copy” of that column can be made.

It’s possible to do what you want by simply adding a “new” column to the end of the table and running one or more update statements to copy the data from the old column to the new column.

You would then drop the old column.

I would suggest dropping any advanced indexes which exist on that old column first to give you extra space if needed.



From: iqug-bounces at iqug.org [mailto:iqug-bounces at iqug.org] On Behalf Of Nguyen Anh Vu
Sent: Sunday, August 05, 2018 7:38 PM
To: iqug at iqug.org
Subject: [IQUG] resize columns of a very big table


Dear experts,


We are using SAP sybase IQ 16 for DW, we have a 10 Terabytes table with some columns in decimal (22,2) format, now we need to resize these columns to decimal (18,2). We have about 3T free in dbspaces.


Pls suggest me the best way to do this,


Thanks and best regards,


Vu Nguyen,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://iqug.org/pipermail/iqug/attachments/20180806/92ac5865/attachment.html>

More information about the IQUG mailing list