The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am wanting to copy a column in one table to another table.
Specially I am wanting to copy the data in table userfield2 column fileld15 to table userfield column15. Any help would be appreciated. Thanks, Parker |
|
#2
|
||||
|
||||
|
Code:
UPDATE userfield INNER JOIN userfield2 on userfield.userid = userfield2.userid SET userfield.field15 = userfield2.field15; update table userfield fileld15 with data from table userfield2 fileld15 |
|
#3
|
||||
|
||||
|
One typo in there - "INNTER" should be "INNER".
|
|
#4
|
||||
|
||||
|
I seen and fixed that
.- I forgot to hit preview. |
|
#5
|
|||
|
|||
|
Thanks for the help.
Parker |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|