Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Modify data type from varchar to Blob in Sybase.

$
0
0
On Sybase ASE when I try to modify the data type of a column from varchar to blob its giving me this error,any help??

Error executing SQL ALTER TABLE [ETTFDKXEB6AC0X83ZNZB9ZEGI].[PROD_T_RESOURCE] MODIFY [CREATEDBY] IMAGE: ALTER TABLE 'ETTFDKXEB6AC0X83ZNZB9ZEGI.PROD_T_RESOURCE' failed. You cannot modify column 'CREATEDBY' to TEXT/IMAGE/UNITEXT type.

The changeset is as follows
<changeSet author="user" id="modifyDataType-table-from-Varchar-to-BLOB"> <modifyDataType columnName="CREATEDBY" newDataType="BLOB(2147483647)" tableName="${env}_T_RESOURCE"/> </changeSet>

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>