Consultor Eletrônico



Kbase P68329: Why use the  logical database connection parameter (-ld)?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

What is the logical database connection parameter (-ld)?

GOAL:

What is the benefit of using the logical database name connection parameter?

FACT(s) (Environment):

All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

The logical database name (-ld) connection parameter allows you to specify a logical database name other than the default name.
command: pro mydb1 -ld firstdb.
When you connect to a database, Progress automatically assigns that database a default logical name for the current Progress session. The default logical name consists of the physical database name without the .db file extension. For example, if you connect to a database with the physical name mydb1, Progress uses the logical database name mydb1 to resolve database references. You can use the logical database name (-ld) startup patameter to specfiy a logical database name other than the default. In the example command above, firstdb would be assigned to the physical database mydb1.db.
Logical database names allow the running of procedures on different physical databases without recompiling.