Select * from dbo.f_get_bigbrandid(b.brandid) bigbrand 这里的dbo是数据库下的表对象的管理对象。f_get_bigbrandid是函数名,返回记录集。括弧里面是参数。后面应该是查询得到记录集的别名。