Sql中將string類型轉化成int類型並進行連表查詢

Sql中將string類型轉化成int類型並進行連表查詢,使用cast()函數:web select dt.name,zl.* from zl_deviceinterface as zl join devicetype as dt on cast(zl.devicetypeid as int)=dt.objectid where dt.name=‘電梯’ svg
相關文章
相關標籤/搜索