:=
和Into
in 和有什么不一样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;