isconnection

Determine if database connections are valid

Syntax

a = isconnection(conn)

Description

a = isconnection(conn) returns 1 if the database connection conn is valid, or returns 0 otherwise.

Examples

Check if the database connection conn is valid.

a = isconnection(conn)
a =
     1
Was this topic helpful?