Database Operations
You can use the execute
function and other
Database Toolbox™ functionality to perform numerous database operations.
For example, use the runstoredprocedure
function to run a stored procedure. You can alter database structure
by creating tables and adding columns. The
rollback
and commit
functions enable you to manage database transactions. Or, you can
execute the corresponding SQL statements by using the
execute
function.
Functions
Topics
- Run Custom Database Function
Run a custom database function on Microsoft® SQL Server®.
- Change Database Connection Catalog
Switch between different database catalogs.
- Roll Back Data in Database
Execute
ROLLBACK
SQL statement by using theexecute
function. - Create Table and Add Column
Manage database structures using the
CREATE
andALTER
SQL statements. - Delete Data from Databases
Delete data from your database using MATLAB®.