Convert sql request to java string


it seems to me that i saw recently a functionality in toad to convert sql request
select *
from industry i
where i = 'axa'

into code like that

String s ="";
s+= "select * ";
s+= " from industry i ";
s+= " where i = 'axa'";

and i cant find it anymore.

did i dream it ? or how to find it

thanks for your help

It's the Make/Strip Code feature. You can configure the templates in Options on the Editor|Behavior page. When you have your code in the Editor you can convert it between SQL and another language using these toolbuttons or Ctrl+M and CTRL+Shift+M. The result of Make Code is copied to clipboard.