recoded to create local database. receiving error for invalid SQL statement

recoded to create local database. receiving error for invalid SQL
statement.