isurl

Detect whether database URL is valid

Syntax

a = isurl(d, 's')

Description

a = isurl(d, 's') 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(d, 'jdbc:odbc:thin:@144.212.123.24:1822:')
a =
     1

This indicates that the database URL is valid for d.

See Also

| | |

Was this topic helpful?