Added CDB_ColumnType SQL function