scripts: add database updateSQL command

Print the SQL statements which will be applied by update command.

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: yes