@staticmethod
def conn_string(server, database, user, password, driver='SQL Server'):
    """
        Construct the pyodbc connection string.
        
        :param server: The domain name of a server.
        :type server: str
        :param database: The name of the database.
        :type database: str
        :param user: The user name to authenticate to the server.
        :type user: str
        :param password: The password used to authenticate to server.
        :type password: str
        :param driver: The pyodbc driver to the database.
        :type driver: str
        :returns: The pyodbc connection string.
        :rtype: str
        
        """
    templ_str = (
        'DRIVER={{{}}};SERVER={{{}}};DATABASE={{{}}};UID={{{}}};PWD={{{}}}')
    return templ_str.format(driver, server, database, user, password)
