Overflow error

Discussion in 'Questions (Windows Mobile)' started by HirAsk, Dec 15, 2007.

  1. HirAsk

    HirAsk Member

    I am working over an SQL application and when I put this command:

    ALTER TALBE table1 RENAME TO newname

    And execute with:
    cmd.CommandText = ComandoString.Text

    I receive this error:

    Error Description:
    Arithmetic operation resulted an overlow.

    How can I control that from the sintax error in the SQL command entry?

    Sorry for my very poor english... :sign0013:
    Last edited: Dec 15, 2007
  2. Erel

    Erel Administrator Staff Member Licensed User

    You should use cmd.ExecuteNonQuery instead of cmd.ExecuteTable(...) as this command doesn't return any data.
  3. HirAsk

    HirAsk Member

    Thank you very much Erel. :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice