[DiscordArchive] whats the easiest way to convert AC sql query t...
[DiscordArchive] whats the easiest way to convert AC sql query t...
Archived author: stoneharry • Posted: 2025-08-30T14:19:09.612000+00:00
Original source
INSERT INTO tc.my_table SELECT entry, 1, name0 FROM ac.my_table
Archived author: stoneharry • Posted: 2025-08-30T14:19:36.042000+00:00
Original source
you can copy columns renaming them, or hardcode values, or insert queries to fetch data for rows
Archived author: stoneharry • Posted: 2025-08-30T14:19:50.108000+00:00
Original source
so you write the query once and then run it to convert data
Archived author: stoneharry • Posted: 2025-08-30T14:20:39.997000+00:00
Original source
here is an example to convert SpellEditor spell DB to VMangos: https://github.com/stoneharry/WoW-Spell-...-635557187
[Embed: Create 1.12.1 cmangos/vmangos converter · Issue #91 · stoneharry/...]
The most popular patch 1.12 vanilla emulators load most spell DBC data from SQL tables rather than the spell.dbc file. The emulator tables schemas do not match the Blizzard schema. It would be usef...
https://github.com/stoneharry/WoW-Spell-.../issues/91
Archived author: Hex • Posted: 2025-08-30T14:21:52.250000+00:00
Original source
yeah but i dont want to change my database to match the azerothcore one
Archived author: Hex • Posted: 2025-08-30T14:22:04.468000+00:00
Original source
i want to change the query to match the TC one
Archived author: Hex • Posted: 2025-08-30T14:22:10.547000+00:00
Original source
not sure if i understand you
Archived author: Hex • Posted: 2025-08-30T14:22:23.243000+00:00
Original source
right
Archived author: stoneharry • Posted: 2025-08-30T14:24:31.003000+00:00
Original source
This isn't changing the DB. This is copying data between the two table formats. Converting it
Archived author: Hex • Posted: 2025-08-30T14:26:15.377000+00:00
Original source
ok but if i dont have two tables one ac and one tc for example