initial sqlscript string first then assign value prevent unpredicted error