getSearchStringEscape Method (SQLServerDatabaseMetaData)

Retrieves the String that can be used to escape wildcard characters.

public java.lang.String getSearchStringEscape()

A String that contains the escape wildcard character String.

This getSearchStringEscape method is specified by the getSearchStringEscape method in the java.sql.DatabaseMetaData interface.

This method is used only for metadata pattern searches. It returns "\". A String search pattern can escape wildcards ("%" and "_") and provide them as literals by prepending a backslash. This translates "\%" to "[%]" and "\_" to "[_]".