Bash If Variable Is Not Empty Sql Server