I have a data table and want to perform an sql query to build a new column on the data containing data from several data columns, how can this be done?
eg IF(FIND('-',Location_Code)=4, LEFT(Location_Code, 12), LEFT(Location_Code, 13))
thanks john woollett