Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have a requirement :
I have below data:
field1 | field2 |
---|---|
123 | 123:None |
456 | 456:None |
345 | 345:None |
now the values in colfield2 should be replaced with none ,
how to do that
Can you try
Purgechar(field2,'0123456789:') as newField
SubField(field2,':',-1)
i have a requirement :
I have below data:
field1 | field2 |
---|---|
123 | 123:None |
456 | 456:None |
345 | 345:None |
now the values in colfield2 should be replaced with NULL,
how to do that
On what condition it should be null?
SubField(field2,':',-1)
Null() as field2
Simply
Null() as FieldName OR
'' as FieldName
Not sure 100% i followed you?
try this,,,
NullTable:
Mapping Load None , Null() autogenerate 1;
Map subfield(Field2,':',2) using NullTable;
should be loaded before your original table...
filed2 displays value in above format against field1
so field 2 values should be null