Title: SQL help
Last modified: August 21, 2016

---

# SQL help

 *  [finkdb](https://wordpress.org/support/users/finkdb/)
 * (@finkdb)
 * [13 years ago](https://wordpress.org/support/topic/sql-help-1/)
 * I just migrated from Drupal to WordPress. The problem is, all of the posts now
   have a “-” in the Category column in WP Admin and throw an error when trying 
   to be displayed. I would like a simple SQL statement that updates all posts, 
   published before December 1st 2012, and assign them a category of “Uncategorized.”
 * Can anyone assist?
 * Thanks in advance.

The topic ‘SQL help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [finkdb](https://wordpress.org/support/users/finkdb/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/sql-help-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
