RFE#1145: Preview SQL instead of executing it.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>