isurl - Detect whether database URL is valid

Syntax

a = isurl('s', d)

Description

a = isurl('s', d) returns 1 if the database URL s for the driver object d is valid. It returns 0 otherwise.

The URL s is of the form jdbc:odbc:name or name.

Examples

Check whether the database URL, jdbc:odbc:thin:@144.212.123.24:1822: is valid for driver object d.

a = isurl('jdbc:odbc:thin:@144.212.123.24:1822:', d)
a =
     1

This indicates that the database URL is valid for d.

See Also

driver, get, isdriver, isjdbc

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS