def removeEscapingDoubleQuoteInSQLString(string, forceDoubleQuote=True):
    """
    Remove the escaping double quote in database/schema/table name.
    """
    if string is None:
        return string

    string = string.replace('""', '"')

    if forceDoubleQuote:
        string = '"' + string + '"'
    return string