update 多表關聯 語法總是記不住,特此記錄一下
update a
set a.InstrumentTypeID = b.DictionaryEnumID
from t_Basic_Instrument a
left join t_Basic_DictionaryEnum b on b.DictionaryEnumText=a.InstrumentName
update 多表關聯 語法總是記不住,特此記錄一下
update a
set a.InstrumentTypeID = b.DictionaryEnumID
from t_Basic_Instrument a
left join t_Basic_DictionaryEnum b on b.DictionaryEnumText=a.InstrumentName
https://github.com/ddean2009/blog-auto-publishing-tools
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com
ERROR Failed to compile with 1 error