Jump to content
Sign in to follow this  
andries

Sql debug

Recommended Posts

hi

By accident we found a w ay to debug an sql statement.

http://fmcustomfunctions.com/fid/335

  • Like 1

Share this post


Link to post
Share on other sites

Absolutely indispensable - thanks so much for sharing this Andries! Now we just have to find a complete list of the error messages...

A couple of things I noticed during initial testing:

- I give a field a reserved name, the error message is just "There is an error in the syntax of the query.".

- There can of course be more than one error in a statement - I'm not sure if it's possible to get a list rather than a single error, but at the very least it would be good to know in what order errors are detected.

Would be really nice if FMI could share the information they have on this, and perhaps improve the error messages even more in a future release.

Share this post


Link to post
Share on other sites

If you run regular SQL on an SQL table you just get a similar message, not any attempt to say where.. Presumably this is just a more polite version of "?"

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.