Data sources, returned as a cell array of character vectors.
d
is empty when the ODBC.INI
file is
valid, but no defined data sources exist.
For ODBC data sources, the getdatasources
function
retrieves data source names from the ODBC.INI
file
located in the folder returned by running:
myODBCdir = getenv('WINDIR')
The function also retrieves the names of data sources that are in the
system registry but not in the ODBC.INI
file.
For JDBC data sources, the getdatasources
function
retrieves data source names that you define using the JDBC Data Source
Configuration dialog box in the Database Explorer app.