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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:06:47+00:00 2026-05-27T20:06:47+00:00

I am using execSql to process an INSERT statement, and it has worked without

  • 0

I am using execSql to process an INSERT statement, and it has worked without error on all pre-Honeycomb versions of Android. In Honeycomb and later, the application just hangs. It does not return an Exception, or any kind of error.

The INSERT statement uses a compound SELECT statement with 3 UNION’s to provide the values.

Has anyone else encountered this?

Edit: It seems it is only the final SELECT statement that causes the hang.

insert into RESULTS (Int_ID, SubjID, SubjName, SubjCompID,  SubjCompName, ObjID, ObjName, ObjCompID, ObjCompName,  IntType, MechID, Direction, Effect, Strength, Comment, Sort1, Sort2 )  
SELECT Int_ID, subdc.ID_comp as SubjID,  subdc.Name_comp as SubjName, ID_subject as SubjCompID,  subcompd.Name as SubjCompName, objdc.ID_Compound as ObjID,   objdc.Name_Compound as ObjName, ID_object as ObjCompID, objcompd.Name as ObjCompName,  IntType, MechID, Direction, Effect,Strength,Comment,   (subdc.ID_compound + objdc.ID_Compound)as Sort1, (ID_subject + ID_object)as Sort2  
FROM Int  
INNER JOIN t_Components subdc ON ID_subject = subdc.ID_Component  
INNER JOIN t_Components objdc ON ID_object = objdc.ID_Component  
INNER JOIN Comps subcompd ON ID_subject = subcompd.DrugID  
INNER JOIN Comps objcompd ON ID_object = objcompd.DrugID  
WHERE  subdc.ID_compound <> objdc.ID_Compound
  • 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-27T20:06:48+00:00Added an answer on May 27, 2026 at 8:06 pm

    Just needed to add more statements to the WHERE clause;
    Maybe this post should be removed?

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

Sidebar

Related Questions

We could insert data into database without using the Uri. But when we are
I have created tables in android sqlite using create statement and also inserted values
I am using execSQL on SQLite database. The sql INSERT strnig is INSERT INTO
Using C#, I need a class called User that has a username, password, active
I'm using Android's SQLite to create a database of levels, based on some files.
I am trying to remove 6 rows from the database using the following statement
I'm developing an Android application and i'm using a Sqlite database to store some
Trying to insert values with Unicode Chars into a MySQL-database using Delphi 2010 and
I am trying to execute INSERT sqlite statements into my database using a method
I'm using Sqlite with android to develop and app which can be customizable (for

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.