tmp sql scripts