Hello,
I am trying to erase all products from a clone of my shop with this command :
DELETE FROM wp_posts WHERE post_type = 'product';
I identify my post table as this one :
8nSUmyx27_b2s_posts
So I send this command :
DELETE FROM 8nSUmyx27_b2s_posts WHERE post_type = 'product';
It fails, the system answers :
1064 - Syntax error close to 'WHERE post_type = 'product'' at line 1
I looked everywhere, I can't find what the error is. Any idea anyone ?
Thanks in advanced.
I am trying to erase all products from a clone of my shop with this command :
DELETE FROM wp_posts WHERE post_type = 'product';
I identify my post table as this one :
8nSUmyx27_b2s_posts
So I send this command :
DELETE FROM 8nSUmyx27_b2s_posts WHERE post_type = 'product';
It fails, the system answers :
1064 - Syntax error close to 'WHERE post_type = 'product'' at line 1

I looked everywhere, I can't find what the error is. Any idea anyone ?
Thanks in advanced.
Last edited by a moderator: