hvorfor ikke bruge simpel opdatering?
BEGIN;
UPDATE folder
SET parent_id = 3
WHERE id = 5;
UPDATE files
SET folder_id = 3
WHERE folder_id = 5;
END;
hvorfor ikke bruge simpel opdatering?
BEGIN;
UPDATE folder
SET parent_id = 3
WHERE id = 5;
UPDATE files
SET folder_id = 3
WHERE folder_id = 5;
END;