Database Toolbox Previous page   Next Page
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


Previous page  isnullcolumn isurl Next page

© 1994-2005 The MathWorks, Inc.