Query activity > Output columns > Added column: How to change default type?

michaelk5974358

14-11-2017

Hello

In the output columns I added a new column with an Expression like this:

$(vars/@aabbcc)

The content of this variable I created in a JS activity in vars.aabbcc

Now I get the following error:

PM query6 PGS-220000 PostgreSQL error: ERROR:  value too long for type character varying(255)

The problem is that the standard type is string and the standard length is 255, but the content of vars.aabbcc is longer than 255 chars.

So: How can I change the allowed length or change the type from text to memo?

Michael

Accepted Solutions (1)

Accepted Solutions (1)

florentlb

16-11-2017

Hi Michael,

Unfortunately I don't see how this is possible. We tried a few tricks with one of our most seasoned developer but could not manage to change the length nor the type of the field.

Please let us know if you find a solution as this will eventually be useful for the community.

Florent

Answers (0)