[DiscordArchive] Hello I want to copy all COLUMN from one table to another table in sql Table 1 = test Table 2 = test
[DiscordArchive] Hello I want to copy all COLUMN from one table to another table in sql Table 1 = test Table 2 = test
Archived author: blacknightt • Posted: 2022-10-06T20:48:21.774000+00:00
Original source
Hello I want to copy all COLUMN from one table to another table in sql Table 1 = test Table 2 = testt Can anyone help with this?
Archived author: Bench • Posted: 2022-10-06T20:51:27.017000+00:00
Original source
I can throw you my query for it once I get back to my computer
Archived author: blacknightt • Posted: 2022-10-06T20:59:17.767000+00:00
Original source
how long does it take?
Archived author: Bench • Posted: 2022-10-06T21:03:35.684000+00:00
Original source
```UPDATE testt
SET COLUMN = (
SELECT COLUMN
FROM test
WHERE test.ID = testt.ID
);```
Archived author: Bench • Posted: 2022-10-06T21:03:54.479000+00:00
Original source
Uses the `ID` column to know which entry is which