executeSql function

Execute SQL code