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

  • SEARCH
  • Home
  • 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 8184967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:41:02+00:00 2026-06-07T01:41:02+00:00

I need a way to convert hex values to numbers so that I can

  • 0

I need a way to convert hex values to numbers so that I can sum them together (I need to end up with a single value) in both oracle and SQL server. I’m having a hard time getting the same results on both servers. These are the hex values:

        SQL SERVER                            ORACLE
____________________________________________________________________
0x6512BD43D9CAA6E02C990B0A82652DCA  6512BD43D9CAA6E02C990B0A82652DCA
0xC20AD4D76FE97759AA27A0C99BFF6710  C20AD4D76FE97759AA27A0C99BFF6710
0xC51CE410C124A10E0DB5E4B97FC2AF39  C51CE410C124A10E0DB5E4B97FC2AF39
0x1FF1DE774005F8DA13F42943881C655F  1FF1DE774005F8DA13F42943881C655F
0x1C383CD30B7C298AB50293ADFECB7B18  1C383CD30B7C298AB50293ADFECB7B18
0xC74D97B01EAE257E44AA9D5BADE97BAF  C74D97B01EAE257E44AA9D5BADE97BAF
0x67C6A1E7CE56D3D6FA748AB6D9AF3FD7  67C6A1E7CE56D3D6FA748AB6D9AF3FD7
0x6F4922F45568161A8CDF4AD2299F6D23  6F4922F45568161A8CDF4AD2299F6D23

I’m pretty much open to any solution and any help is appreciated. Thanks.

  • 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-06-07T01:41:04+00:00Added an answer on June 7, 2026 at 1:41 am

    These hex values are too large to be stored as numbers, period. The examples given are 32 hex digits, which would need a data type of 124 bits (unsigned). You will overflow if you attempt to use native integers. Summing them will produce even larger values.

    One way or another, you will need to find a way to deal with arbitraryily long hex numbers. Either find or write a math library to do this. In Oracle you could probably do this with Java or .NET stored procedures. Similarly, SQL Server would probably have .NET routines which can be used, which would give consistent code. Its unlikely that PL/SQL or T-SQL solutions will perform very well.

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

Sidebar

Related Questions

How can I convert HTML to XPS? Need a way or a library. But
I have an array of string-encoded hex values. I need to convert those strings
I need a way to convert .doc or .docx extensions to .txt without installing
I need fastest way to convert files from latin1 to utf-8 in python. The
I need a way to convert a number into formatted way by inserting comma
I need a way to change the specific value of a column of a
I need a way to convert a strings collection into a unique string. This
How can I convert the following? 2934 (integer) to B76 (hex) Let me explain
I need a way to convert times in the future to different timezones without
Criteria: Performance, Performance, Performance. I need a way to convert a uint, int, etc

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.