How to create a WordPress compatible slug in MySQL
Sometimes it is convenient to import terms or posts into a WordPress database. When you do, you may need to create a ‘slug’ column. To do this, I’ve modified a user defined function I found on StackOverflow or some similar site (possibly...