qry=cur.execute("SELECT connection_xml FROM partition11 WHERE connection_xml IS NOT NULL AND software_release=? AND partition_reference LIKE ?",(software_release,partition_reference))
qry=cur.execute("SELECT connection_xml FROM partition12 WHERE connection_xml IS NOT NULL AND software_release=? AND partition_reference LIKE ?",(software_release,partition_reference))