Skip to main content
Released

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

Related products:FME Form
siennaatsafe
david_r
ebygomm
takashi
erik_jan
+10
  • siennaatsafe
    siennaatsafe
  • david_r
    david_r
  • ebygomm
    ebygomm
  • takashi
    takashi
  • erik_jan
    erik_jan
  • davideagle
    davideagle
  • mark_f
  • 1spatialmary
  • kimo
    kimo
  • maurice
    maurice
  • roland.martin
    roland.martin
  • darkspatiallord
    darkspatiallord
  • chau
    chau
  • mayermart
  • victorv

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

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
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