Update android database
<p>I am trying to update a value in my sqlite Android database. I am using:</p>

<pre><code>    public void updateName(int id,
                String name) {
            String update = "UPDATE STUDENT SET IS_name = " + "'" + name + "'"
                    + " WHERE ID = " + id;
            database.rawQuery(update , null);
    }
</code></pre>

<p>But the database is not updated. Any help please?</p>
