I have a SELECT query with a column called FUELCARDNUMBER.
I want to create another column called FUELCARD which records "Y" if there is a fuel card number in the FUELCARDNUMBER column and "N" if it is blank.
I have tried:
IIF(IsNull [FUELCARDNUMBER],"N","Y") AS FUELCARD
But this givs me errors.
Any clues?
I want to create another column called FUELCARD which records "Y" if there is a fuel card number in the FUELCARDNUMBER column and "N" if it is blank.
I have tried:
IIF(IsNull [FUELCARDNUMBER],"N","Y") AS FUELCARD
But this givs me errors.
Any clues?