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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:09:55+00:00 2026-06-03T17:09:55+00:00

My iOS program download [A.sqlite3] file in server. My iOS have already [b.sqlite3] file

  • 0

My iOS program download [A.sqlite3] file in server.

My iOS have already [b.sqlite3] file in local

I want to Join A.sqlite3’s table with b.sqlite3’s table in local iOS.

But, because of table’s database is different, I have problem joining tables.

How do I put tables in same db?

  • 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-03T17:09:56+00:00Added an answer on June 3, 2026 at 5:09 pm

    You can use the sqlite ATTACH syntax. Assuming you had a table A in database A.sqlite3 and a table B in database B.sqlite3, from the command line, the steps would be:

    $ sqlite3 A.sqlite3
    sqlite> ATTACH 'B.sqlite3' AS dbB;
    sqlite> SELECT a.*,dbB.b.* FROM a,dbB.b WHERE (a.id = dbB.b.id);
    

    The ATTACH gives the additional database file a prefix which you can use in your sql statements.

    On an iPhone app, you open your A.sqlite3 database as before, then pass the sql ATTACH command to the sqlite library like you pass your other sql commands, and remember to give the full pathname as the first argument to the ATTACH.

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

Sidebar

Related Questions

My program download a.sqlite3 file in server and b.sqlite3 file is already in local
My IOS application program have tableview in navigation controller secondview. I want to save
I have a small IOS program and that get a time from a database
We are coming up to our iOS Developer Program renewal date and I want
I have enrolled in the iOS developer's program. I've developed an app which I
In iOS apps, we have to register nib files with our table view before
I'm using xcode 4.0. Do i need to join ios developer program at 99dollars
Our customer has just joined the iOS Developer Enterprise Program. They have signed the
I have iOS Developer Program membership for which i paid $99. I have installed
I am part of the Apple iOS Dev Program and I have the paid

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.