Skip to content

Is there a script that would identify records with spaces in SKU via PhpMyAdmin?

Magento 2.4.5-p1

I am getting the Error when browsing products which I think has to do with the fact that some of the products I imported from Magento 1.x have SKUs with spaces.

Is there a script I could run that would identify records with spaces in SKUs via PhpMyAdmin so that I could then correct these right in the database?