|
|
|
|
HDuplicateDatabase (Function) In french: HDupliqueBaseDeDonnées
Available only with this kind of connection
Duplicates the database associated with a connection on an HFSQL server. The tables, the rights, the procedures and the triggers are duplicated. HDuplicateDatabase(MyConnection, "MyCopiedDatabase")
Syntax
<Result> = HDuplicateDatabase(<Connection> , <Duplicated database>)
<Result>: Boolean - True if the database was duplicated.
- False if an error occurred. HError is used to identify the error.
<Connection>: Character string or Connection variable Connection associated with the database to duplicate. This connection corresponds to: <Duplicated database>: Character string Name of the new database to create (copy of the current database). Remarks:- The new database to create must not exist.
- A WLanguage error occurs if the new database already exists.
Remarks Use conditions To duplicate a database, the user must have: - the rights to perform backups.
- the rights to create databases.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|