Define_Database subroutine

Defines a database, using all currently attached tables.

Define_Database(database, overwriteflag, tablelist, removeflag)

The Define_Database subroutine has the following parameters.

ParameterDescription
DatabaseName for the database. The database can contain upper case alphabetic characters, digits, or the underscore ( _ ) character.
OverwriteflagIf a database definition exists with the same name as the database, the overwriteflag determines whether that database definition will be overwritten with the new definition. The default ("" or 0) is to not overwrite. You must pass 1 to overwrite.
TablelistPasses null. If null not passed, goes to debugger.
removeflagPasses null. If null not passed, goes to debugger.
* The last two parameters should be passed as null.

declare subroutine Set_Status, Define_Database
declare function Get_Status
$insert Logical
Set_Status(FALSE$)
Define_Database(@dbid, TRUE$, "", "")
if Get_Status(Error) then
Set_Status(FALSE$)
* handle the error here
end
  • guides/programming/programmers_reference_manual/define_database.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1