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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:22:01+00:00 2026-05-30T18:22:01+00:00

Taken straight off of SQLite’s site The value is a signed integer, stored in

  • 0

Taken straight off of SQLite’s site “The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.”

Does this mean that if you have 1 value that requires 8 bytes, ALL values in that column will be treated as 8 bytes. Or, if the rest are all 1 byte, and one value is 8 bytes, will only that value be using 8 bytes and the rest will remain at 1?

I’m more used to SQL in which you specify the integer size accordingly.

I know the question seems trivial, but based on the answer will determine how I handle a piece of the database.

  • 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-30T18:22:02+00:00Added an answer on May 30, 2026 at 6:22 pm

    The sqlite database structure is different in the way it handles data types. Each field can have a different type…

    Here is the documentation from sqlite:

    Most SQL database engines use static typing. A datatype is associated with each column
    in a table and only values of that particular datatype are allowed to be stored in that
    column. SQLite relaxes this restriction by using manifest typing. In manifest typing, the
    datatype is a property of the value itself, not of the column in which the value is
    stored. SQLite thus allows the user to store any value of any datatype into any column
    regardless of the declared type of that column. (There are some exceptions to this rule:
    An INTEGER PRIMARY KEY column may only store integers. And SQLite attempts to coerce
    values into the declared datatype of the column when it can.)

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

Sidebar

Related Questions

I have taken an example straight out of the MSDN. I want to create
Hopefully this is pretty straight forward, just can't work it out. I need to
This is a pretty straight forward attempt. I haven't been using python for too
My wxPython application uses a wx.ScrolledWindow for the main drawing area - taken straight
I worked on an embedded system this summer written in straight C. It was
I apologize if this question has already been covered on this site, but I
I have the following code taken straight from the NavBar sample code from Apple.
Alright, first off I'm not quite sure how to phrase my problem. This could
I've taken some animation xml straight from the android docs, and as far as
Here is a very and straight forward question: How long will it take to

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.