Documentation Center

  • Trial Software
  • Product Updates

Functions in Database Toolbox

By Category | Alphabetical List

attr Retrieve attributes of columns in fetched data set
bestrowid Unique identifier for row in database table
clearwarnings Clear warnings for database connection or resultset
close Close database connection, cursor, or resultset object
cols Retrieve number of columns in fetched data set
columnnames Retrieve names of columns in fetched data set
columnprivileges List database column privileges
columns Return database table column names
commit Make database changes permanent
crossreference Retrieve information about primary and foreign keys
cursor.fetch Import data into MATLAB Workspace from cursor object created by exec
database Connect to database
database.catalogs Get database catalog names
database.columns Get database table column names
database.fetch Execute SQL statement to import data into MATLAB workspace
database.schemas Get database schema names
database.tables Get database table names
datainsert Export MATLAB data into database table
dexplore Start SQL Database Explorer to import data
dmd Construct database metadata object
exec Execute SQL statement and open cursor
exportedkeys Retrieve information about exported foreign keys
fastinsert Add MATLAB data to database table
fetch Import data into MATLAB workspace from cursor object or from execution of SQL statement
fetchmulti Import data from multiple resultsets
get Retrieve object properties
getdatasources Return names of ODBC and JDBC data sources on system
importedkeys Return information about imported foreign keys
indexinfo Return indices and statistics for database tables
insert Add MATLAB data to database tables
isconnection Detect whether database connections are valid
isnullcolumn Detect whether last record read in resultset is NULL
isreadonly Detect whether database connection is read only
logintimeout Set or get time allowed to establish database connection
namecolumn Map resultset column name to resultset column index
ping Get status information about database connection
primarykeys Get primary key information for database table or schema
procedurecolumns Get stored procedure parameters and result columns of catalogs
procedures Get stored procedures for catalogs
querybuilder Start SQL query builder GUI to import and export data
querytimeout Get time specified for SQL queries to succeed
resultset Construct resultset object
rollback Undo database changes
rows Return number of rows in fetched data set
rsmd Construct resultset metadata object
runsqlscript Run SQL script on database
runstoredprocedure Call stored procedure with input and output parameters
set Set properties for database, cursor, or drivermanager object
setdbprefs Set preferences for retrieval format, errors, NULLs, and more
supports Detect whether property is supported by database metadata object
tableprivileges Return database table privileges
tables Return database table names
update Replace data in database table with MATLAB data
versioncolumns Automatically update table columns
width Return field size of column in fetched data set
Was this topic helpful?