Column
Goal
Write mask
rule logic to
- put values into a table
column
, taken fromanother column
of the same table.
Ano Structure and Example
- Structure
- Update Example
- Update with Convert Example
...
mask <column>
format %s
column <another-column>
...
table HOTELROOMCATEGORY
...
column date TODATE
...
...
task ... {
update HOTELROOMCATEGORY
...
mask TODATE // mask TODATE by setting it equal to FROMDATE
format %s
column FROMDATE
...
}
table birth_certificate
...
column text personal_number size 11
...
...
task ... {
update birth_certificate
mask personal_number
format "%1$td%1$tm%1$ty12345" // Using date format specifiers requires convert String2Date
column birth_date
convert String2Date
}
<column>
defined aftermask
receives the values fromanother-column
defined aftercolumn
- Make sure
<column>
andanother-column
is in the same table.