# DefaultValueComputed isn't honored when column type is VARCHAR2

**URL:** <https://forum.liquibase.org/t/defaultvaluecomputed-isnt-honored-when-column-type-is-varchar2/2970>\
**Category:** General Discussion\
**Created:** [April 28, 2014, 8:45pm UTC](https://forum.liquibase.org/t/defaultvaluecomputed-isnt-honored-when-column-type-is-varchar2/2970 "2014-04-28T20:45:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasserama](https://avatars.discourse-cdn.com/v4/letter/k/85e7bf/32.png) [@kasserama](https://forum.liquibase.org/u/kasserama)\
**Post date:** [April 28, 2014, 8:45pm UTC](https://forum.liquibase.org/t/defaultvaluecomputed-isnt-honored-when-column-type-is-varchar2/2970/1 "2014-04-28T20:45:00Z")

</div>

Hi

I’m running liquibase 3.1.1 on an Oracle DB. I have a change that creates a table with a column of type VARCHAR2(255) and it should have SYS\_GUID as default value: defaultValueComputed=“SYS\_GUID()”.

The resulting sql from this change is:&nbsp;Christian

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [April 28, 2014, 8:45pm UTC](https://forum.liquibase.org/t/defaultvaluecomputed-isnt-honored-when-column-type-is-varchar2/2970/2 "2014-04-28T20:45:00Z")

</div>

It appears to be working correctly for me in the upcoming 3.2.0 code. I don’t remember if it is something I fixed, or if there is something different with your changeSet.&nbsp;

Until 3.2.0 is out (hopefully this week or early next) you can add to your changeSet. Notice the ’ marks hidden in the value portion that is being replaced.

Nathan
