I’m making this calculation in my SQL statement:
CD_WELLBORE_FORMATION.prognosed_md + {fn IFNULL(CD_DATUM.datum_elevation, 0)}
How do I alias this calculation to say, “MD”? I’ve tried different placements of the AS keyword, but I keep getting syntax errors.
works fine for me. Why not just use
COALESCEthough instead of the ODBC sequence?COALESCEis standard SQL…