Skip to main content
Question

BUG IN SQL CREATOR & SQL EXECUTOR

  • August 14, 2019
  • 4 replies
  • 33 views

Forum|alt.badge.img+1

Every time I need to run my transalation I have to open the SQL transformer make an edit (i.e. put in a space , delete it ) to get the transformer to run successfully. It is only the first transformer in the workspace that this occurs on the other sql transformers run as expected

This is the same whether I use SqlCreator or SqlExecutor.

 

Could it be the Sql statement I am using begins with Declare statement?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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

Forum|alt.badge.img+1
  • Author
  • 31 replies
  • August 14, 2019

The error message is

Query failed, possibly due to a malformed statement.

however I don't change anything in the statement and then it runs successfully.


david_r
Celebrity
  • 8394 replies
  • August 14, 2019

This is very strange. I use a lot of SQLExecutors / SQLCreators, and I've never had this issue.

Can you provide us with a minimal sample workspace that demonstrates the issue, as well as a complete log?

If that is not an option, you should consider contacting Safe support.


maiaeam
Forum|alt.badge.img
  • 3 replies
  • August 14, 2019

You tried to include the connection in "tool options - Database connections" before you created your SQL transformation, this must be because your desktop is not recognizing the database connection.


Forum|alt.badge.img+1
  • Author
  • 31 replies
  • August 15, 2019

I copied the first few transformers to a new workspace to send . but cannot get it to error!

my original workspace is also now behaving. I guess it may have something to do with maiaeam's answer and the connection is now recognised somehow.