create function GetParentID (@ID int)returns intasBeginDeclare @pid intset @pid =0select @pid = classparentid from uds_class where classid = @idreturn @pidEnd 相关文章: 2021-07-11 2021-08-02 2022-12-23 2022-12-23 2022-12-23 2021-07-25 2022-12-23 2021-05-15