Consultor Eletrônico



Kbase P22231: How to run the same 4GL program against two databases having the same schema?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Verified

GOAL:

How to run the same 4GL program against two databases having the same schema?

FIX:

Use the same logical database name when connecting to each of the two databases.
The logical database name is used to gain more programming flexibility. When a procedure is compiled against a database, it is the logical name that is stored in the procedure's object code, and when a procedure executes, its database name references must match the logical name of a connect database.