Miva Merchant Development by Scot's Scripts

PHPMyAdmin: SQL Operations Misc Notes

Miva Random Code Trivia

Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)
SEO Audit & Inquiries • News & Updates • SEO for Miva Merchant

PHPMyAdmin: SQL Operations Misc Notes

THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.

Scot Ranney • November 10, 2024


1. Using SQL Operations in PHPMyAdmin requires "back ticks" ` for column names but double quotes " for values.

Example:

update `s08_openreviews_REVIEWS` set `type_code` = replace(`type_code`, "50pmc2s-review", "p4");

You will know there is something wrong if an "unknown column" error comes up.


https://www.scotsscripts.com/mvblog/phpmyadmin-sql-operations-misc-notes.html

phpmyadmin