Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sql error in a odbc command

Featured Replies

  • Newbies

Hi there,

I'm developing a c# window's solution with an interaction with a filemaker's odbc connection.

This application may send some sql request on inexistent tables or columns.

Is there specific code or message in the filemaker's reply? My goal is intercept this code, message to make an identification of the error's type and write a comprehensive message to the user.

[edit]

I find a code and a message send by mysql.

for a unknown column, filemaker says

  • Message }:( "Error in Result Column"
  • SQLState : HY000
  • NativeError : -203

The SQLState is always the same for the different kind of errors (HY000), but the NativeError number changes.

Where may i find a list of this code? I've nothing found in Filemaker' doc

Thanks a lot...

[/edit]

Thanks and sorry for my english....

Shewif

Edited by Guest

Are you looking for FM error codes?

If yes, try here .

If you are talking about MySQL, what version are you using? I haven't seen a comprehensive list, I always just search the site. Slowly compiling a list of my own (Only have a few right now).

Edited by Guest

  • Author
  • Newbies

Yes, I've already seen this list, but it seems to be a filemaker's user list. I search a filemaker's sql error list.

for example, a request that make a duplicate key(with unique clause) is associate to a SQL message "Field failed unique value validation test" and a SQLNative error -511.

This list have an another message for error 511;(

I hope that i don't need to test all possibilities to do my own error's list message (in french)...

I don't use another DBMS. But i don't look if Mysql error number is the same.

thanks

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.