Click here to Skip to main content
15,887,477 members
Home / Discussions / Database
   

Database

 
GeneralDataSets or Direct Manipulation Pin
Sijin12-Nov-02 1:55
Sijin12-Nov-02 1:55 
GeneralRe: DataSets or Direct Manipulation Pin
Rob Graham18-Nov-02 10:58
Rob Graham18-Nov-02 10:58 
GeneralRe: DataSets or Direct Manipulation Pin
Sijin18-Nov-02 13:59
Sijin18-Nov-02 13:59 
GeneralRe: DataSets or Direct Manipulation Pin
Rob Graham18-Nov-02 17:14
Rob Graham18-Nov-02 17:14 
GeneralDatabase Table synchronization Pin
johnb11-Nov-02 16:40
johnb11-Nov-02 16:40 
Hello,

I have a database design problem,
I'm using MS Access databases btw.

I have several tables, which need to be syncronised between databases.
There are 3 databases and records can be added to any of the 3 and need to
be updated on the others.

Table T1 has a primary key which is referenced by T2.

Now to make an update to a remote database I came up with the following.
Create a table called Database which has an unique ID.

Create a table called Mapping which has the following
Id (AutoNumber)
TableId - unique number 1- T1 , 2-T2
DatabaseId - Id from Database Table
RemoteId - Remote Id of this entry
LocalId - local Id

To syncronize, when a remote client connects to the local database, it goes through table T1, and looks in the Mapping table for the localId, with its DatabaseId. If it is not found, it is a new entry and creates a new T1 entry on its (remote) database. It also creates a Mapping entry on the local database and remote database.

Does this sound like a good plan?
Or are there existing methods which work better?

Confused | :confused:

Cheers
John




QuestionWhy my program not connect to oracle on other pc? Pin
sages11-Nov-02 16:12
sages11-Nov-02 16:12 
GeneralADOX: Using Append with adDBTimeStamp Problem in Visual C++ .net Pin
Bart-Man11-Nov-02 4:53
Bart-Man11-Nov-02 4:53 
GeneralRe: ADOX: Using Append with adDBTimeStamp Problem in Visual C++ .net Pin
Mazdak11-Nov-02 8:35
Mazdak11-Nov-02 8:35 
GeneralRe: ADOX: Using Append with adDBTimeStamp Problem in Visual C++ .net Pin
Bart-Man11-Nov-02 9:19
Bart-Man11-Nov-02 9:19 
GeneralRe: ADOX: Using Append with adDBTimeStamp Problem in Visual C++ .net Pin
Mazdak11-Nov-02 20:05
Mazdak11-Nov-02 20:05 
GeneralRe: ADOX: Using Append with adDBTimeStamp Problem in Visual C++ .net Pin
Bart-Man12-Nov-02 11:22
Bart-Man12-Nov-02 11:22 
GeneralIterating through DBs/Tables Pin
Christian Graus11-Nov-02 0:03
protectorChristian Graus11-Nov-02 0:03 
GeneralRe: Iterating through DBs/Tables Pin
Daniel Turini11-Nov-02 0:32
Daniel Turini11-Nov-02 0:32 
GeneralRe: Iterating through DBs/Tables Pin
David Salter11-Nov-02 12:02
David Salter11-Nov-02 12:02 
GeneralRe: Iterating through DBs/Tables Pin
Daniel Turini11-Nov-02 20:41
Daniel Turini11-Nov-02 20:41 
GeneralRe: Iterating through DBs/Tables Pin
Christian Graus13-Nov-02 23:31
protectorChristian Graus13-Nov-02 23:31 
GeneralRe: Iterating through DBs/Tables Pin
Christian Graus13-Nov-02 23:35
protectorChristian Graus13-Nov-02 23:35 
QuestionWhich DB to use? Pin
johnb10-Nov-02 21:45
johnb10-Nov-02 21:45 
AnswerRe: Which DB to use? Pin
Daniel Turini10-Nov-02 22:17
Daniel Turini10-Nov-02 22:17 
GeneralRe: Which DB to use? Pin
johnb10-Nov-02 22:27
johnb10-Nov-02 22:27 
GeneralRe: Which DB to use? Pin
Daniel Turini11-Nov-02 0:24
Daniel Turini11-Nov-02 0:24 
GeneralRe: Which DB to use? Pin
johnb11-Nov-02 0:36
johnb11-Nov-02 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.