Skip to main content
Question

How to delete/truncate records in a feature class in feature dataset sitting in ArcSDE 10.2.2

  • February 10, 2017
  • 6 replies
  • 208 views

@shazad.tareen@gmail.com

6 replies

itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • February 10, 2017

the writer feature type is standard set to truncate the table, you can find that in the writer feature type parameters.


itay wrote:

the writer feature type is standard set to truncate the table, you can find that in the writer feature type parameters.

Hi,

 

I already tried the truncate option in FME but it is not working. I tried to truncate the feature class in ArcCatalog, it is not working there and giving error "Operations is not supported on feature class in a controller dataset". Delete operation is working in ArcCatalog but it takes lots of time. Just to clarify this is a feature class within feature dataset.

 

Thanks

 

 


david_r
Evangelist
  • February 13, 2017

You can also consider using the DatabaseDeleter transformer.

To delete all records, specify a WHERE-clause that is always true, e.g.


Forum|alt.badge.img+2
  • February 20, 2017

As I understand it, a 'controller dataset' is one that participates in a network or some other type of feature class dependency. To delete or truncate you have to remove the feature class from the feature dataset. This short article might help


bwasserstein
Participant
Forum|alt.badge.img
  • Participant
  • April 19, 2019

New response to an old post, but I've found a solution on my end for the "Operation is not supported on feature class in a controller dataset" issue. The issue for me is that I have a stand-alone gdb with a field containing a GUID data type. It's either that or the fact that the feature class is part of a topology ruleset (or both), but I'm thrown this error when I try to truncate a table in ArcGIS.

This worked for me...

  • Set up your writer in FME workbench.
  • Right-click the writer and select "Edit Parameters...".
  • Under "Parameters", set the "Transaction Type: " to Edit Session rather than Transactions. Click "OK".
  • Right-click the writer once again and select "Properties...".
  • In the "Format Parameters" tab, set "Truncate Table first: " to Yes.

The trick was setting the transaction type to an edit session.

Cheers.

Ben

(running FME 2015.0 from data interoperability extension in ArcGIS 10.3.1)


david_r
Evangelist
  • April 23, 2019
bwasserstein wrote:

New response to an old post, but I've found a solution on my end for the "Operation is not supported on feature class in a controller dataset" issue. The issue for me is that I have a stand-alone gdb with a field containing a GUID data type. It's either that or the fact that the feature class is part of a topology ruleset (or both), but I'm thrown this error when I try to truncate a table in ArcGIS.

This worked for me...

  • Set up your writer in FME workbench.
  • Right-click the writer and select "Edit Parameters...".
  • Under "Parameters", set the "Transaction Type: " to Edit Session rather than Transactions. Click "OK".
  • Right-click the writer once again and select "Properties...".
  • In the "Format Parameters" tab, set "Truncate Table first: " to Yes.

The trick was setting the transaction type to an edit session.

Cheers.

Ben

(running FME 2015.0 from data interoperability extension in ArcGIS 10.3.1)

Yes, this often does the trick. Just be aware that using an Edit Session writer is much, much slower than by transaction. If the slowdown is unacceptable, it may be faster to delete the topology, write the changes using transactions, and finally recreate the topology.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings