MakeFeatureLayer then Delete

Discussion created by jlindahl on Sep 12, 2011
Latest reply on Sep 12, 2011 by lpugh01
I'm using python to create a feature layer and then delete the feature layer.  I don't think this is working for me, unless I am missing something.  My end goal is to delete features from an existing feature class based on some attribute values. 

I'm currently creating a feature layer by passing in a sql query.  I then dellete that feature layer. 

gp.MakeFeatureLayer(r"conn.sde/schema.fc", "flyr", vSqlStmnt)

When complete, nothing is deleted.