My sql is as simple as this "create table (x number,y,number,z number,shape sde.st_geometry)". Then I would use Catalog to register it as a feature class with geodatabase, such as adding objectid and setting coordinate system. First time trying to enable Z and M. Maybe for M and Z setting, the feature class needs to be created from Catalog?