İçeriğe geç
KAMPANYA

Logo Tasarım + Web Tasarım + 1 Yıl Domain + E-posta + Hosting — $299 +KDV

AIOR

How to find and change a word in sql

Sektör topluluğu — sorularınız, deneyimleriniz ve duyurularınız için.

How to find and change a word in sql

Aior

Administrator
Staff member
Joined
Apr 2, 2023
Messages
175
Reaction score
2
Points
18
Age
40
Location
Turkey
Website
aior.com
1/3
Thread owner
You can see the SQL code How to find and change a word in sql as below:

SQL does not support list and search all tables then if you are using a Wordpress table you can make necessary changes as below:



SQL:
-- wp_options 
UPDATE wp_options
SET option_value = REPLACE(option_value, 'boxpressingmachinery', 'therigidboxmachine')
WHERE option_value LIKE '%boxpressingmachinery%';

-- wp_users 
UPDATE wp_users
SET user_email = REPLACE(user_email, 'boxpressingmachinery', 'therigidboxmachine')
WHERE user_email LIKE '%boxpressingmachinery%';

UPDATE wp_users
SET user_nicename = REPLACE(user_nicename, 'boxpressingmachinery', 'therigidboxmachine')
WHERE user_nicename LIKE '%boxpressingmachinery%';

UPDATE wp_users
SET user_url = REPLACE(user_url, 'boxpressingmachinery', 'therigidboxmachine')
WHERE user_url LIKE '%boxpressingmachinery%';

UPDATE wp_users
SET display_name = REPLACE(display_name, 'boxpressingmachinery', 'therigidboxmachine')
WHERE display_name LIKE '%boxpressingmachinery%';
 
Last edited:

Forum statistics

Threads
171
Messages
178
Members
27
Latest member
AIORAli

Members online

No members online now.

Featured content

AIOR
AIOR TEKNOLOJİ

Tüm ihtiyaçlarınız için Teklif alın

Hosting · Domain · Sunucu · Tasarım · Yazılım · Mühendislik · Sektörel Çözümler

Teklif al

7/24 Destek · Anında yanıt

Back
Top