add example of using the SQL API, which is somewhat buggy yet
prevent memory error for out of bounds provision