Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
The field 'class' has AAA and EAA, i would want to classify the records into ACCIDENT or ENGINEERING.
The syntax below didnot work. Please help
load *,
IF(LEFT(class,1)='A','ACCIDENT'),
IF(LEFT(class,1)='E','ENGINEERING') as Class_Name,
Try moving a parenthesis to the end:
IF(LEFT(class,1)='A','ACCIDENT', IF(LEFT(class,1)='E','ENGINEERING')) as Class_Name,
Try moving a parenthesis to the end:
IF(LEFT(class,1)='A','ACCIDENT', IF(LEFT(class,1)='E','ENGINEERING')) as Class_Name,