Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7012651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:17:00+00:00 2026-05-27T22:17:00+00:00

I am trying to update data into the column with data type decimal(18, 18).

  • 0

I am trying to update data into the column with data type decimal(18, 18).

It is throwing on error

Arithmetic overflow error converting varchar to data type numeric.

My query is

UPDATE tblname SET latitude ='55.27898669242859', longitude = '25.19762644777814' WHERE id = 1

when I remove the quotes(‘) and run i am getting below error

Arithmetic overflow error converting numeric to data type numeric.

I have used CAST and CONVERT also it is not working .

can anyone guess the reason??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:17:01+00:00Added an answer on May 27, 2026 at 10:17 pm

    While defining the table you have made the mistake. Redefine the column as decimal(18,10) means you can store 10 digits after decimal. By defining decimal(18,18), you can store decimal value less than 1 in the table eg. 0.278986692.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to pipe data into cut to, say, cut away the first column
I am trying to use jQuery's ajax functionality to update data from a web
I am trying to update table A with data from table B. I thought
I am trying to update a field in a table with data from another
I'm trying to update a hashtable in a loop but getting an error: System.InvalidOperationException:
I am trying to update a column in my table which was last inserted.
I am trying to update a field of type spFieldUserValue, you know a, PeoplePicker.
I'm trying to input some data into a PostgreSQL 8.4 database with a PostGIS
I'm trying to insert into XML column (SQL SERVER 2008 R2), but the server's
Am trying to do update a clob column using a connection object that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.