One workaround is the UPDATE...FROM syntax:
update pset prims=(select PrimOwners.prims from PrimOwners where PrimOwners.avatarkey=p.avatarkey)FROM @people p;
Dan Guzman, SQL Server MVP, http://www.dbdelta.com
No comments:
Post a Comment