Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
michaelk5974358
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
View profile

Avatar
Validate 1
Level 1
michaelk5974358
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Ignite 1
View profile
michaelk5974358
Level 1

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)

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

237 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

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)