separate to xsqlvar.py
move to xsqlvar.py