Jump to content

[Solucionado] Ayuda consulta Sql


Recommended Posts

Me gustaria borrar los pedidos y facturas existentes en mi tienda, navegando por el foro, he visto que en la version 1.5 se hacia mediante consulta Sql con los siguiente:

 

TRUNCATE `ps_orders`;
TRUNCATE `ps_order_detail`;
TRUNCATE `ps_order_history`;
TRUNCATE `ps_order_message`;
TRUNCATE `ps_order_message_lang`;
TRUNCATE `ps_order_slip`;
TRUNCATE `ps_order_slip_detail`;

para las facturas

TRUNCATE `ps_order_invoice`;
TRUNCATE `ps_order_invoice_payment`;
TRUNCATE `ps_order_invoice_tax`;

 

Me gustaria saber si tambien funciona en 1.6 y soy un poco novato, si fuera posible indicarme como se realiza dicha consulta, que no lo encuentro por ningun lado..

 

Muchas gracias

Edited by alexgm07 (see edit history)
Link to comment
Share on other sites

Entra en PhpMyAdmin.

A la izquierda elije tu base de datos.

Arriba pincha en SQL.

Pega tu consulta a la BD..,

TRUNCATE `ps_orders`;
TRUNCATE `ps_order_detail`;
TRUNCATE `ps_order_history`;
TRUNCATE `ps_order_message`;
TRUNCATE `ps_order_message_lang`;
TRUNCATE `ps_order_slip`;
TRUNCATE `ps_order_slip_detail`;
TRUNCATE `ps_order_invoice`;
TRUNCATE `ps_order_invoice_payment`;
TRUNCATE `ps_order_invoice_tax`;

... y click en continuar.

Link to comment
Share on other sites

Entra en PhpMyAdmin.

A la izquierda elije tu base de datos.

Arriba pincha en SQL.

Pega tu consulta a la BD..,

TRUNCATE `ps_orders`;
TRUNCATE `ps_order_detail`;
TRUNCATE `ps_order_history`;
TRUNCATE `ps_order_message`;
TRUNCATE `ps_order_message_lang`;
TRUNCATE `ps_order_slip`;
TRUNCATE `ps_order_slip_detail`;
TRUNCATE `ps_order_invoice`;
TRUNCATE `ps_order_invoice_payment`;
TRUNCATE `ps_order_invoice_tax`;

... y click en continuar.

Muchas gracias, todo realizado perfecto

Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...