إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-10-2010, 11:50 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,617
عدد الـنقاط :3341
 تقييم المستوى : 2139

I have several hundred users who have the same email address whom I want to merge together, I was wondering what the SQL query would be for it, I thought it could be something like;


Code:
UPDATE vb_user
SET username = X
WHERE email LIKE '%[email protected]%'
but I think that would only work on one user, and I have several hundred, I'm looking for a way other than "Merge Users" in the admincp, as it would take hours. I'm not adverse to doing it manually, however if there is a quicker way, naturally I will take it.

Again, I need to MERGE the users based on email address, the above query is most likely wrong because I couldn't find the SQL which merges the accounts.
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 02:09 AM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML