# Change column type and update values

**URL:** <https://forum.liquibase.org/t/change-column-type-and-update-values/2121>\
**Category:** General Discussion\
**Created:** [October 1, 2012, 8:45pm UTC](https://forum.liquibase.org/t/change-column-type-and-update-values/2121 "2012-10-01T20:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [October 1, 2012, 8:45pm UTC](https://forum.liquibase.org/t/change-column-type-and-update-values/2121/1 "2012-10-01T20:45:00Z")

</div>

Hi there,&nbsp;

I’m quite new to Liquibase and I would liek to know if there is a way to change the data type of a column (from varchar to integer) and update the current values (for example the string “XYZ” gives 1, “ABC” gives 2)?

Thank you
