http://stackoverflow.com/questions/3564283/howto-declare-variable-and-use-it-in-the-same-sql-script