Düzenle

Aracılığıyla paylaş


getSearchStringEscape Method (SQLServerDatabaseMetaData)

Download JDBC driver

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

Syntax

  
public java.lang.String getSearchStringEscape()  

Return Value

A String that contains the escape wildcard character String.

Exceptions

SQLServerException

Remarks

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 "[_]".

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class