| Database Toolbox | ![]() |
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
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 | ![]() |
© 1994-2005 The MathWorks, Inc.