Kbase 13764: Data Dictionary sets _DB by using the alias DICTDB
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Data Dictionary sets _DB by using the alias DICTDB
When a user enters the Data Dictionary and selects a "working
database", this ends up setting the _DB variable to be the database
he has chosen. For instance, if he were to return to the editor and
type the following, he'd see that his working database is the
active one:
FOR EACH _db:
DISPLAY _db.
END.
How is this done? The Data Dictionary code sets this by using the
alias DICTDB. If a user wishes to select a working database without
having to go into the Data Dictionary to do it, he needs to execute:
CREATE ALIAS "dictdb" FOR DATABASE <dbname>.
Progress Software Technical Support Note # 13764