First working version with sqlPrepare() and sqlExecute()