The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi all
![]() need a hand if anyone can help. I want to do a sitewide move of:- User Profile Fields (field8) into 'user' table 'usertitle' So that's every members 'field8' into their 'usertitle'. Problem is I can't find 'User Profile Fields (field8)' Can anyone help me with the query I can insert into phpmyadmin? Thanks in advance ![]() |
#2
|
||||
|
||||
![]()
[sql]UPDATE user
SET user.usertitle = userfield.field8 LEFT JOIN userfield USING (userid)[/sql] Not tested, so you might want to try on a test board first. |
#3
|
||||
|
||||
![]()
nope
![]() any other idea's ![]() |
#4
|
|||
|
|||
![]()
Other way round...
![]() [sql]UPDATE user LEFT JOIN userfield USING (userid) SET user.usertitle = userfield.field8[/sql] |
#5
|
||||
|
||||
![]()
Ah, that's right. I always confuse the order on an update.
|
#6
|
||||
|
||||
![]()
Beautiful, worked like a charm. Thank you both for your help
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|