added executesql function

added executesql function