Skip to main content
Released

improve SQLExecutor to operate the same way on all databases it supports

Related products:FME Form
australgis
  • australgis
    australgis

It would be good if the SQL Executor operates the same way on any database formats its supports.

Recently I've had an issue whereby I cannot execute a 'DELETE from <my-table>' statement on SpatiaLite, but I can execute the same statement on Oracle Spatial.

See the following Knowledge Centre question and supporting answers/comments at

https://knowledge.safe.com/questions/50230/sql-executor-and-spatialite-delete-or-drop-command.html

<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

I have a feeling this is also the cause why "with" statements don't work either.


chau
Contributor
Forum|alt.badge.img+3
  • Contributor
  • January 9, 2018

I think my issues with creating views (and indices, though they can be made using the SQLite non-spatial) are due to the same limitations.


kimo
Contributor
Forum|alt.badge.img+10
  • Contributor
  • September 10, 2018
At least add a note in the documentation! ie We only support read-only SQL Executor queries.

 

But why? I am using spatialite precisely to do fast sql selections for real-time updates. I really need a Truncate function. Drop and Create is not possible because it invokes a file lock.

 

 


andreaatsafe
Safer
Forum|alt.badge.img+12

I'm please to let you know that a recent update to FME 2020.2 beta (build 20709 and newer) has enabled SQL executing statements for the SpatiaLite format in the SQLCreator and SQLExecutor. We now support more than read-only SQL statements when using the SpatiaLite format (eg. INSERT/UPDATE/DELETE/CREATE/DROP).

You can find the latest beta build here: www.safe.com/beta

- Andrea


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