|
楼主 |
发表于 2009-4-16 13:54
|
显示全部楼层
板主, 谢谢啊
可是奇怪的是, 我如果按照你的
SELECT "1", * FROM `C:\Documents and Settings\Desktop\excel\consolidation\1`.`A$` `A$` union all
SELECT "2", * FROM `C:\Documents and Settings\Desktop\excel\consolidation\2`.`A$` `A$`
windows error提示: too few parameters. Expected 1
我试了试, SELECT 1, * FROM `C:\Documents and Settings\Desktop\excel\consolidation\1`.`A$` `A$` union all
SELECT 2, * FROM `C:\Documents and Settings\Desktop\excel\consolidation\2`.`A$` `A$`
到是通过了
我是excel 2003版的, " "到底要不要加呀
如果加'1', 到是可以的
[ 本帖最后由 cyn_sg 于 2009-4-16 14:18 编辑 ] |
|