- On the Variable Creation dialog, click on RESULTS.
-
Click on SQL (note that the RESULTS tab will be grayed-out/disabled until after the analysis is completed).
The generated SQL is returned as text which can be selected and copied, as desired.