I inserted an sql file (ctrl-O). It contains a number of references to my original database. I wanted to replace all references of the database name with, for example, fred999. I positioned the caret at the top of the sql text and opened the search and replace text dialog. I entered the text strings correctly. All tick box options are unchecked; the radio buttons are "Forward", "Entire scope" and "Global". I clicked Replace all.
For some reason, only the first string was replaced.
Am I doing something wrong?
Replacing text.
Thank you guys. I have a sample script if you want to test it on but I'm reasonably sure anything will do. I have two screenshots which I can't upload but I can email them if you would like some visual evidence. Anyway, it seems it has been mostly confirmed so I'll wait for your feedback.
Code modification/commit
from ansgar.becker,
10 years ago,
revision 8.1.0.4645
Fix non-working "Replace all" button, due to its wrong ModalResult property (mrClose). See http://www.heidisql.com/forum.php?t=14064
Please login to leave a reply, or register at first.