クエリ内の:=
との違いは何ですか?Into
select
例えば:
SELECT filesinfo.IsFolder,
filesinfo.ReferenceID
INTO @IsFolder, @ReferenceID
FROM filesinfo
WHERE filesinfo.FileID = @ChildID;
と:
SELECT @IsFolder := filesinfo.IsFolder,
@ReferenceID := filesinfo.ReferenceID
FROM filesinfo
WHERE filesinfo.FileID = @ChildID;