Database Toolbox    
isreadonly

Detect if database connection is read only

Syntax

Description

a = isreadonly(conn) returns 1 if the database connection conn is read only, or returns 0 otherwise, where conn was created using database.

Examples

Type

and MATLAB returns

indicating that the database connection conn is read only. Therefore, you cannot perform insert or update functions for this database.

See Also
database, isconnection


  isnullcolumn isurl