I have a postgres db with text records in a row named "filmid". looks like this:
select * from films order by filmid;
ID filmid
1 3
2 23
3 241
now what I want to do for testing is first to change one cell value:
UPDATE films SET filmid = '0000' WHERE externalid = '23';
but that doesn't change anyting.
Later I want to append text ("0000") to all of the cell elements from the row filmid so that it looks like this:
ID filmid
1 30000
2 230000
3 2410000
But I can't figure out how to do that
textcolumn? That's a bad idea to begin with