Strange quirk. Whenever I set up a "Connect in-db" tool for the first time, if I paste sql into the the query editor box, the code is immediately greyed out as if it were commented-out. I then run it, it fails, and what I pasted is usually not in the field anymore. I repaste the exact same thing into it and it works, the code is properly showing the color coding and what not.