I am trying to insert a field with CActiveRecord and apparently the field type is a varbinary(max). It’s a SQL server database. What are my options with Yii and dealing with this field type? We don’t control the database so I can’t change the field type to varchar even though it’s only text being inserted into it.
Is there a way in my model to a convert? Something like -
Can that sort of thing be done on the fly with CActiveRecord?