运行时错误' -2147217871(80040e31)'查询超时已过期

时间:2016-07-25 07:20:04

标签: sql-server excel macros

这是我的代码:

strglsql = "Select * from stg_glactualdata a inner join ( select item1.item_master_code from stg_dim_item item1 ,stg_dim_item item2 where item1.dim02_value = item2.dim02_value And item1.dim03_value = item2.dim03_value And item1.dim12_value = item2.dim12_value) b on a.Item_SKUCode = b.item_master_code "
varglactual.ActiveConnection = VarVmConnection
varglactual.Open strglsql

执行时我得到:

  

运行时错误' -2147217871(80040e31)'查询超时已过期

可能出现什么问题?

0 个答案:

没有答案