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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:34:29+00:00 2026-06-08T11:34:29+00:00

I have read on net tutorials that cloud can be used for storing data.So

  • 0

I have read on net tutorials that cloud can be used for storing data.So i wanted to ask that whether sql server 2005 table data be stored in amazon cloud.Can anyone give me the sample code to store data from sql server in amazon and retrieve it in android application?

  • 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-08T11:34:31+00:00Added an answer on June 8, 2026 at 11:34 am

    Amazon gives you a server instance with the operating system specified by you. you can technically, install anything on it and host that.

    1. What you should technically do is to take an instance of your desired specification from Amazon.
    2. Write a simple web application (I would do a java webapp. For sure you can go for the same as you already are doing Android programming.) with connectivity to your DB and that has controllers to run your SQL queries and returns the values.

    Here is some example code. This uses Spring just so you know. You can use plain MVC as well if you want do it simple to start with.

        @RequestMapping ( value = "runquery" , method = RequestMethod.GET )
    @ResponseBody
    public void runQuery()
    {
    
        Statement lStatement        = null;
        Connection lConnection      = null;
        ResultSet lResultSet        = null;
        try
        {
            lConnection = DBAccess.getConnection();
            lStatement  = lConnection.createStatement();
            lResultSet  =  lStatement.executeQuery( "select * from table" );
    
            while ( lResultSet.next() )
             {
                mLogger.info("The result set is : "+lResultSet.toString());
             }
    
        }
        catch( Exception e )
        {
            e.printStackTrace();
            mLogger.error("Exception occurred while trying to runQuery : "+e.getMessage());
        }
        finally
        {
            DBAccess.closeResultSet( lResultSet );
            DBAccess.closeStatement( lStatement );
            DBAccess.closeDBConnection( lConnection );
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read that viewstate is not there in asp.net MVC application. I am
I have read that TempData is backed by session in Asp.Net MVC, but only
I have read so many times, here and everywhere on the net, that mutexes
I am working with WCF .NET 3.5 SP1 and have read that one does
I am new to ASP.net MVC architecture. I have read in some articles that
Possible Duplicate: Read Post Data submitted to ASP.Net Form I have a google checkout
I have read that ASP.NET uses connection pooling to manage database connections so it
I am beginning on ASP.net MVC. All the articles I have read so far
i have to read tags of cmyk *.tiff and *.eps files. i use .net
Is there any way to read the asp.net Import directives at runtime? I have

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.