Home > database >  How to put the client in PB wrote a record in a database on a server
How to put the client in PB wrote a record in a database on a server

Time:10-06

Problem, don't know how to write, connect to the server statements each prawn to help explain,
The server IP is 194193,1,61
Can't thank you enough detail

CodePudding user response:

No see!
A single database again?
It would be to create a transaction object!
And the sqlca usage!

CodePudding user response:

Is the client to write a program that,,,
The service side to write a program that,
Don't know how to write, oh

CodePudding user response:

At least want to know what is the database

CodePudding user response:

Dizzy, didn't see understand!
What a few database! What specific process! You have to what's going on!

CodePudding user response:

Several database?

CodePudding user response:

Is the client has a database?

CodePudding user response:

What database

CodePudding user response:

Two databases,,, a, client, server, a, but the two tables in the database structure is consistent,,,, thank you upstairs,,,,

CodePudding user response:

Built two transaction object, a connection to the local database, a connect to a remote database, according to the requirements can be arbitrary processing

Some convenient structure consistent with pipes

CodePudding user response:

Database synchronization technology has a lot of, the general is the use of database platform itself some features, such as essentially a itself has replication technology,
If the original poster is a small database, can consider to design export import functions in your system (if the data does not require real-time synchronization), data from the local database on a regular basis in remote database import after packaging,
More complicated, if there are multiple clients, a server, this kind of situation is more complex, suggest consider when designing the system using some itself with replication mechanism of database system,

CodePudding user response:

With a trigger synchronous processing, this machine INSERT INSERT to the service machine at the same time, UPDATE and DELETE also,
  • Related