%% Delete Existing JDBC Data Source
% Delete an existing JDBC data source for a Microsoft® SQL Server® database.
%
% List the configured data sources on the system. The JDBC data source SQLServerDataSource is an existing data source on the system.

listDataSources

%
% Delete the SQL Server data source SQLServerDataSource.

datasource = "SQLServerDataSource";
deleteDataSource(datasource)

%
% List the configured data sources again. The list of existing data sources does not contain the SQLServerDataSource data source.

listDataSources

%
% Copyright 2020 The MathWorks, Inc.