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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:43:18+00:00 2026-05-15T18:43:18+00:00

I am trying to access an SQL database remotely. Can someone give me a

  • 0

I am trying to access an SQL database remotely.

Can someone give me a hint or idea about how to do this in the iPhone?

  • 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-15T18:43:19+00:00Added an answer on May 15, 2026 at 6:43 pm

    Generally you wouldn’t want to access it directly from your iPhone app, that would be messy and hard and potentially worse if you ever want to change your database and will require replicating a lot of work if you want to hook your database up with another app, maybe on another platform, in the future.

    Exactly what you should do depends greatly on your db, the app and your requirements but look into creating some sort of web service that does the work of connecting to the db and parceling up the data that you want. If you’re on SQL Server you coud look at a .NET webservice and you could get Visual Studio to do nearly all the work for you or if you’re using mySQL then php may be the way to go. Consuming the data on the iPhone will be easy enough if you can get at it in json or XML format, get your webservice to package data up in one or both of these (most platforms will have handy sql table to json/xml functions).

    The app then will want to be able to access the webservice through a URL using a regular HTTP get request (look at NSURLConnection) and then parse out the xml/json data for which there are handy libraries (the json one I use is http://code.google.com/p/json-framework/)

    That should give you a general starting point, would need more specifics to give a better answer.

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

Sidebar

Ask A Question

Stats

  • Questions 495k
  • Answers 496k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You have a bunch of options: You could hardcode the… May 16, 2026 at 11:31 am
  • Editorial Team
    Editorial Team added an answer Use Contains: int[] ids = { 1, 2, 3, 4,… May 16, 2026 at 11:31 am
  • Editorial Team
    Editorial Team added an answer jsFiddle example First, you can only use an ID once… May 16, 2026 at 11:31 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Im trying to access a Sql CE 2005 database on a windows mobile device
I'm trying to access a large Oracle database through SQL Server using OPENROWSET in
I have a SQL Server 2005 database that I'm trying to access as a
I'm trying to access a Sql filestream from a CLR stored procedure. I've set
In this live SQL Server 2008 (build 10.0.1600) database, there's an Events table, which
I am currently trying out visual studio to access sql server databases instead of
How do I get ms-access to connect (through ODBC) to an ms-sql database as
I'm trying to write a query in Oracle SQL to access a particular substring
I am trying to test a proof of concept that I can run a
I have an application that needs to connect to a SQL database, and execute

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.