SQL: Fix for creating a new character