set sql helper functions to static