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 7538953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:15:17+00:00 2026-05-30T07:15:17+00:00

I want to store big integer values such as MySQL bigint in my Informix

  • 0

I want to store big integer values such as MySQL bigint in my Informix table. But Informix does not have a data type bigint. What is the data type I have to use instead?

  • 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-30T07:15:18+00:00Added an answer on May 30, 2026 at 7:15 am

    On current versions of Informix Dynamic Server (meaning IDS version 11.x) on all platforms (32-bit and 64-bit), there is a data type BIGINT which is an 8-byte integer (and a matching BIGSERIAL).

    There is also, for hysterical raisins1, a second pair of types: INT8 and SERIAL8. However (and this is the hysterical bit), they occupy 10 bytes on disk instead of 8. I don’t recommend them. Any given table can have either a BIGSERIAL or a SERIAL8 column, but not both; you can also have a SERIAL column, but then why do you need the bigger number. (There are also sequences for generating numbers that increment by values other than 1, but they’re fiddlier to use than (BIG)SERIAL(8) columns.)

    If you don’t have BIGINT, you must be using an out of date version of Informix.

    There is one gotcha with Informix integer data types. The range of valid values is symmetric. For example, the valid range for SMALLINT is ±32767. The odd-ball value (either -32768 on a 2’s complement machine, or -0 on a sign-magnitude machine or a 1’s complement machine) is reserved for use as NULL.


    1 For ‘hysterical raisins’, read ‘historical reasons’.

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

Sidebar

Related Questions

I want to store values in a bunch of currencies and I'm not too
I have a problem, maybe a silly question, I want to store data in
I want to store a large number of sound files in a database, but
I want to store the data returned by $_SERVER[REMOTE_ADDR] in PHP into a DB
I want to store a very large amount of vector data on a server
I have connected Java program to Oracle database using JDBC. I want to store
I want to store some data from structures like this: class Project { ChildA
I want to store my map data in the sql-lite database on iPhone. I
I'm going to use serialize to store some big array to save into mySQL,
I have some SIMD code in Altivec processing 32 bit integer values in parallel.

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.