ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to find out the properties of a database on an HFSQL server.
Example
// Description de la connexion
HDescribeConnection("MaConnexion", "Julie", "MotDePasse", "MonServeurHF", "MaBaseDeDonnées", hAccessHFClientServer, hORead)
// Ouverture de la connexion
HOpenConnection("MaConnexion")
...
NomPropriétaire is string
NomPropriétaire = HInfoDatabaseProperty("MaConnexion", hOwner, "MaBaseDeDonnées")
IF NomPropriétaire <> "" THEN 
	Trace("Propriétaire de la base de donnée : " + NomPropriétaire)
END
Syntax
<Result> = HInfoDatabaseProperty(<Connection> , <Property> , <Database>)
<Result>: Character string
  • Value of requested property,
  • Empty string ("") if an error occurred.
<Connection>: Character string or Connection variable
Connection for which a property value is requested. This connection corresponds to:
<Property>: Integer constant
Property of the database:
hApplicationName of the application from which the database was created.
If this constant is used, <Result> is a character string with the following format: <Executable name>(<Project name>).
hComputerName of the computer from which the element was created.
If this constant is used, <Result> has the following format: <Name of client computer> + TAB + <IP Address of client computer>.
hCreatorName of the database creator. This information has no influence.
If this constant is used, <Result> is a character string.
hDateCreation date of the database.
If this constant is used, <Result> is a string in the following format: YYYYMMDDHHmmSSCCC.
hNotesDatabase description or any other information associated with the database by HModifyDatabaseProperty.
If this constant is used, <Result> is a character string.
hOwnerOwner of the database.
The owner is the one who owns the database. The owner of a database can be modified by HModifyDatabaseProperty.
If this constant is used, <Result> is a character string.
<Database>: Character string
Name of the database for which to get the properties.
If this parameter corresponds to an empty string (""), the database defined in the connection will be used.
A WLanguage error occurs if no database is defined in the connection.
Remarks
To modify the properties of a database, use HModifyDatabaseProperty.
Component: wd300hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2025

Send a report | Local help