0

可能有更好的方法,但这对我有用:

 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

格雷格

4

1 回答 1

2
 Update t1 
 set t1.ListKey = t2.ListKey
 From Jet.LookupListItemEntity_Default t1 
 join Jet.LookupListEntity_default t2 on t1.ListId = t2.id
于 2013-09-25T12:04:05.430 回答