Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Questions on database Sync

Posted on 2004-09-29
8
215 Views
Last Modified: 2010-04-23
I have a questions reguarding upddating a local database from a server drive.  I have created an offline / online application.  When the app starts it verifies if it can get to the server, yes - online, no- offline,  I copy of a 485mb database is loaded from cd at start.  What are my options to update the local database when the user knows they are online, and send only changes.

Thanks,

MJ
0
Comment
Question by:malanois
  • 5
  • 3
8 Comments
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179425
you want to update records or the whole database?
0
 

Author Comment

by:malanois
ID: 12179481
Update the records.
0
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179540
ok, then wich sql tool are you using? sql server? access? oracle?

if you use oracle or sql server or any sql tool that can use stored procedure,  you can just create a stored procedure that takes parameters representing all field you want to update.

you can also use directly the update statements from your program to the server.

0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12179547
oh and the stored procedure has to old the update statement to ;-)
0
 

Author Comment

by:malanois
ID: 12179819
The databse is access.
0
 

Accepted Solution

by:
DimYanChatelAsDataSet earned 500 total points
ID: 12179947
ok, then just  use the UPDATE statements trought your program, you know how to send sql trough vb?

the way of sending UPDATE is just as a regular SELECT statement.
0
 

Author Comment

by:malanois
ID: 12180732
Ok,

Is ther anyway to show how many rows were updated.

0
 

Expert Comment

by:DimYanChatelAsDataSet
ID: 12181791
actually, you can only update one row at a time but maybe my knowledge is not that advanced.

is this solution ok for you?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exit the loop 4 49
VB.NET 2008 Populate DataModel with DataTable 44 38
get column names from table in vb.net 8 50
VB.NET String Settings and Temp Folder Question 3 55
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question