Haikenz Posted November 6, 2017 Posted November 6, 2017 I am having a question, I would like to know if it is possible to export only the desired column, and how to import it into my table Example: I want to use the translated texts from this column of the Items RE from "brAthena" to "rAthena" Link SQL brAthena: https://github.com/brAthena/brAthena/blob/master/sql/renovacao/renovacao.sql PS: Likewise for the mobs Quote
1 Emistry Posted November 10, 2017 Posted November 10, 2017 UPDATE `rAthena`.`item_db_re` t1 INNER JOIN `brAthena`.`item_db_re` t2 ON `t1`.`id` = `t2`.`id` SET `t1`.`name` = `t2`.`name_japanese`; 1 Quote
1 Psychonaut Posted November 7, 2017 Posted November 7, 2017 (edited) UPDATE `rAthena.YourTable t1` inner join `brAthena.YourTable t2` on `t1`.`id` = `t2`.`id` set `t1`.`name`= `t2`.`name_japanese`; Try this SQL command, with backups first. Change YourTable in both to the table name, and that `name` is the name column in rAthena table, so change it if your column have another name. For the mobs change the table again and change name_japanese(both) to the column name. Edited November 7, 2017 by Psychonaut Quote
0 Haikenz Posted November 7, 2017 Author Posted November 7, 2017 53 minutes ago, Psychonaut said: UPDATE `rAthena.YourTable t1` inner join `brAthena.YourTable t2` on `t1`.`id` = `t2`.`id` set `t1`.`name`= `t2`.`name_japanese`; Try this SQL command, with backups first. Change YourTable in both to the table name, and that `name` is the name column in rAthena table, so change it if your column have another name. For the mobs change the table again and change name_japanese(both) to the column name. # 1046 - No database was selected Quote
0 Psychonaut Posted November 7, 2017 Posted November 7, 2017 Try to click on "ragnarok" database, and execute the sql in that db. Quote
0 Haikenz Posted November 7, 2017 Author Posted November 7, 2017 3 hours ago, Psychonaut said: Try to click on "ragnarok" database, and execute the sql in that db. does not exist Quote
0 Ehwaz Posted November 8, 2017 Posted November 8, 2017 use item_db_re instead ragnarok.item_db_re Quote
0 Haikenz Posted November 8, 2017 Author Posted November 8, 2017 4 hours ago, Dometh said: use item_db_re instead ragnarok.item_db_re does not exist Quote
0 Ehwaz Posted November 9, 2017 Posted November 9, 2017 Do you see it say ragnarok.test.item_db_re not exist ? Quote
0 Haikenz Posted November 9, 2017 Author Posted November 9, 2017 2 hours ago, Dometh said: Do you see it say ragnarok.test.item_db_re not exist ? This I know ¬¬". the problem is this SQL command Quote
0 Emistry Posted November 10, 2017 Posted November 10, 2017 @Dream Catcher Perhaps you should check which table store the item_db_re info of yours? You didnt provide any info of which or whatever was the name of your item_db_re named. @Psychonaut has provided a solution, but you havent able to test it out since you keep doing it the wrong way. You didnt replace to the correct sql table based on your own database setting Check your database settings and adjust the table name correctly. Quote
0 Haikenz Posted November 10, 2017 Author Posted November 10, 2017 1 hour ago, Emistry said: UPDATE `rAthena`.`item_db_re` t1 INNER JOIN `brAthena`.`item_db_re` t2 ON `t1`.`id` = `t2`.`id` SET `t1`.`name` = `t2`.`name_japanese`; Thank You! work! Quote
Question
Haikenz
I am having a question, I would like to know if it is possible to export only the desired column, and how to import it into my table
Example: I want to use the translated texts from this column of the Items RE from "brAthena" to "rAthena"
Link SQL brAthena: https://github.com/brAthena/brAthena/blob/master/sql/renovacao/renovacao.sql
PS: Likewise for the mobs
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.