wordQuery.bindValue(":newGuid", newGuid);
wordQuery.bindValue(":oldGuid", oldGuid);
wordQuery.exec();
if (!check) {
logger.log(logger.MEDIUM, "Note guid update failed for Words.");
logger.log(logger.MEDIUM, wordQuery.lastError());
}
resQuery.prepare("Update noteresources set noteguid=:newGuid where noteguid=:oldGuid");
resQuery.bindValue(":newGuid", newGuid);
resQuery.bindValue(":oldGuid", oldGuid);
resQuery.exec();