Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは、MySQL の Navicat で書いた次のコードです。
Set @FileRef=0 FileRef:=select sum(id) from one;
これは私のトリガーのコードの上にあります。
試す、
DECLARE @FileRef INT; SET @FileRef:= (select sum(id) from one);