Quantcast
Channel: dbDelta SQL Query Not Working - WordPress Development Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Otto for dbDelta SQL Query Not Working

This is invalid.PRIMARY KEY id (id)Should just be:PRIMARY KEY (id)Unlike other KEYs, PRIMARY KEYs don't have identifiers or names. They don't need them, because you can only have one.

View Article



Answer by Justin Bell for dbDelta SQL Query Not Working

If you're throwing an error on your SQL statement, you should refer to http://codex.wordpress.org/Class_Reference/wpdb#Show_and_Hide_SQL_Errors for advice on how to identify it. It's not always...

View Article

dbDelta SQL Query Not Working

I know the specifics of using dbDelta and I've read the documentation (http://codex.wordpress.org/Creating_Tables_with_Plugins), read other answers to the question I'm asking, but I'm just not seeing...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>