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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    john9210 
×

Important Information

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