def get_queries(conn, query_ids_list):
    if (is_conn(conn) and (len(query_ids_list) > 0)):
        sanitized_list = []
        for queryId in query_ids_list:
            if is_int(queryId):
                sanitized_list.append(queryId)
        query_ids = str(sanitized_list).strip('[]')
        if (len(query_ids) > 0):
            cursor = conn.cursor()
            cursor.execute((('SELECT * FROM dbo.Query WHERE QueryId IN (' + query_ids) + ')'))
            return cursor.fetchall()
    else:
        raise AttributeError('Connection object or Query List             was not provided')
def get_queries(conn, query_ids_list):
    if (is_conn(conn) and (len(query_ids_list) > 0)):
        sanitized_list = []
        for queryId in query_ids_list:
            if is_int(queryId):
                sanitized_list.append(queryId)
        query_ids = str(sanitized_list).strip('[]')
        if (len(query_ids) > 0):
            cursor = conn.cursor()
            cursor.execute((('SELECT * FROM dbo.Query WHERE QueryId IN (' + query_ids) + ')'))
            return cursor.fetchall()
    else:
        raise AttributeError('Connection object or Query List             was not provided')