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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:27:41+00:00 2026-06-06T12:27:41+00:00

I have a table with a few rows. The datatypes are not set in

  • 0

I have a table with a few rows. The datatypes are not set in the table structure and some rows are integers while some are BLOBs.

How would I figure out what’s what? I’m using the C API.

sqlite3_column_type gives me the same datatype for all rows, which isn’t correct.

  • 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-06T12:27:43+00:00Added an answer on June 6, 2026 at 12:27 pm
    1. sqlite3_column_type is the function that gives you the actual type of the data.
    2. Beware that when you get the value with the other sqlite3_column_* functions, sqlite converts the data it has and the type changes to reflect that. Ask for types before doing anything else with the row.
    3. There is some logic that converts values when inserting them. Are you certain the data is what you expect? Check with typeof SQL function (the sqlite3_column_type C function and typeof SQL function should always return the same value).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table with a few rows of data. I would like to
I have a table in HTML with a few rows. I originally gave some
I have a webpage with html table and few rows in it. I would
I have table with few rows, after use hover mouse over row I want
I have a table with a few thousand rows. The table contains two columns,
I have an HTML table containing a few rows (this is built dynamically). All
I have an html table with a few rows, I have included a jquery
I have a UITableView which sometimes has only a few rows. I would like
I have a table, now on load i am hiding few last rows.Now on
I have one functionality where I am hiding few rows of a table on

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.