可能有更好的方法,但这对我有用:
Update t1
set t1.ListKey = t2.ListKey
From Jet.LookupListItemEntity_Default t1
join (Select ListKey, Id from Jet.LookupListEntity_default) as t2
on t1.ListId = t2.id
格雷格
可能有更好的方法,但这对我有用:
Update t1
set t1.ListKey = t2.ListKey
From Jet.LookupListItemEntity_Default t1
join (Select ListKey, Id from Jet.LookupListEntity_default) as t2
on t1.ListId = t2.id
格雷格