AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL Client/Server
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HDuplicateDatabase (Function)
In french: HDupliqueBaseDeDonnées
HFSQL Client/ServerAvailable 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.
Example
HDuplicateDatabase(MyConnection, "MyCopiedDatabase")
Syntax
<Result> = HDuplicateDatabase(<Connection> , <Duplicated database> [, <Progress Bar>])
<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.
<Progress Bar>: Optional window or control name
  • Name of the window in which the progress bar will be displayed.
  • Name of Progress Bar control used to display the progress.
WEBDEV - Server code This option is not available.
Remarks

Use conditions

To duplicate a database, the user must have:
  • the rights to perform backups.
  • the rights to create databases.
Component: wd290hf.dll
Versión mínima requerida
  • Versión 22
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local