Compartir a través de


getSearchStringEscape Method (SQLServerDatabaseMetaData)

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

public java.lang.String getSearchStringEscape()

Valor devuelto

A String that contains the escape wildcard character String.

Excepciones

SQLServerException

Notas

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

Vea también

Referencia

SQLServerDatabaseMetaData Class

Conceptos

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members