SqlConnection.escapeIdentifier

Return the given string suitably quoted to be used as an identifier in an SQL statement string. Quotes are added only if necessary (i.e., if the string contains non-identifier characters or would be case-folded). Embedded quotes are properly doubled.

@param identifier input identifier @return the escaped identifier @throws SQLException if something goes wrong

interface SqlConnection
string
escapeIdentifier
(
string identifier
)

Meta