DB-2950 - change example to use a prepared statement