tabbed vars in sql