AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / Funciones SQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Lists the data sources declared on a local site. There is no need to be connected to the database to perform this operation.
Ejemplo
// Display the accessible sources in a List Box control
ListAdd(LIST_DataList, SQLListSource())

// Display the accessible databases in a List Box control 
ListAdd(LIST_DataList, SQLListSource("DATABASE"))
Sintaxis

Listing the data sources available for all the databases Ocultar los detalles

<Result> = SQLListSource()
<Result>: Character string
List of all available data sources. The different elements are separated by CR characters and they can be directly added into a list (ListAdd).
ODBC List of all the data sources defined in the ODBC administrator of the current computer.

Listing the available databases Ocultar los detalles

<Result> = SQLListSource(<"DATABASE">)
<Result>: Character string
List of all the types of databases available on the current computer. The different elements are separated by CR characters and they can be directly added into a list (ListAdd). The possible types of databases are:
ACCESSThe Microsoft Jet 4 provider as well as MDAC are installed on the current computer.
DB2The Native DB2 Connector is installed on the current computer.
HYPER FILEAccess to HFSQL databases.
HIVEThe Native Hive Connector is installed on the current computer.
INFORMIXThe Native INFORMIX Connector is installed on the current computer.
MariaDBThe Native MariaDB Connector is installed on the current computer.
MYSQLThe Native MYSQL Connector is installed on the current computer.
ODBCThe ODBC32 DLL is installed on the current computer.
OLEDBMDAC is installed on the current computer.
ORACLEThe Native ORACLE Connector is installed on the current computer.
POSTGRESQLThe Native POSTGRESQL Connector is installed on the current computer.
PROGRESSThe Native PROGRESS Connector is installed on the current computer.
SQL AZUREThe Native SQL AZURE Connector is installed on the current computer.
SQL SERVERThe Native SQL SERVER Connector is installed on the current computer.
Note The value of variable H.SQLServerMode is taken into account. If the former Native Connector is forced and if it is not on the computer, the Native SQL Server Connector will not be listed. If the new Native Connector is forced and if it is not on the computer, the Native SQL Server Connector will not be listed.
SybaseThe Native SYBASE Connector is installed on the current computer.
<"DATABASE">: Character string
"BASE": Character string used to list the databases available on the current workstation..

Listing the data source available for a specific type Ocultar los detalles

<Result> = SQLListSource(<"DATABASE"> , <Type of database>)
<Result>: Character string
List of all data sources available for the specified type. The different elements are separated by CR characters and they can be directly added into a list (ListAdd). The possible results according to the type of database are as follows:
AccessEmpty string.
HYPER FILEEmpty string. We recommend that you use HListAnalysis to get the list of analyses.
ODBCList of ODBC databases defined in the ODBC administrator of current computer.
OLEDBEmpty string.
<"DATABASE">: Character string
"BASE": Character string used to list the data sources available for a specific type.
<Type of database>: Character string
Type of databases searched: "ODBC", ...
Componente: wd310sql.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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