From what I understood, you had something like this:
TabelaX
|--------------------|
| ColA | ColB | ColC |
|------|------|------|
| 1 | 'ab' | 3 |
| 2 | 'ac' | 3 |
| 3 | 'ad' | 5 |
|--------------------|
You have created a new column and the existing values are with NULL
;
TabelaX
|---------------------------|
| ColA | ColB | ColC | ColD |
|------|------|------|------|
| 1 | 'ab' | 3 | null |
| 2 | 'ac' | 3 | null |
| 3 | 'ad' | 5 | null |
|---------------------------|
You want to change to a specific value, just use:
UPDATE TabelaX SET ColD = 1;
If you can not, the bank server may have secure update mode enabled (that is, you need a where
clause for update
to work), you could use 1=1
that will always be true and will update all records.
UPDATE TabelaX SET ColD = 1 WHERE 1=1;
Result:
TabelaX
|---------------------------|
| ColA | ColB | ColC | ColD |
|------|------|------|------|
| 1 | 'ab' | 3 | 1 |
| 2 | 'ac' | 3 | 1 |
| 3 | 'ad' | 5 | 1 |
|---------------------------|