excel mysql未读取所有select语句

excel mysql未读取所有select语句,mysql,sql,excel,odbc,microsoft-query,Mysql,Sql,Excel,Odbc,Microsoft Query,我创建了一个ODBC连接,直接从Excel文件查询MySQL数据库。这是一个非常复杂的查询,使用了aprox 60 select语句,在原始MySQL数据库和从Microsoft query连接上都能完美地工作。但是,当我在Excel工作表上发布结果时,它显示除两列之外的所有列都有一个为什么不将其转换为MSAccess,然后将MSAccess转换为MySQL为什么不将其转换为MSAccess,然后将MSAccess转换为MySQL我发现了问题!,我必须在concat函数中将所有值显式转换为字符串

我创建了一个ODBC连接,直接从Excel文件查询MySQL数据库。这是一个非常复杂的查询,使用了aprox 60 select语句,在原始MySQL数据库和从Microsoft query连接上都能完美地工作。但是,当我在Excel工作表上发布结果时,它显示除两列之外的所有列都有一个为什么不将其转换为MSAccess,然后将MSAccess转换为MySQL

为什么不将其转换为MSAccess,然后将MSAccess转换为MySQL

我发现了问题!,我必须在concat函数中将所有值显式转换为字符串

现在我有了这个

 SELECT concat('FCM-Invoice ',replace(format(numero_facture,0),',',''),' - ',prestation_name,' - ',substring(nom_voyageur,1,locate('/',nom_voyageur)-1),' ',substring(nom_voyageur,locate('/',nom_voyageur) + 1, length(nom_voyageur)-locate('/',nom_voyageur))) as description,
 date_format(now(),'%Y-%m-13') as due
from extrait_sapeig_stat e

我发现了问题!,我必须在concat函数中将所有值显式转换为字符串

现在我有了这个

 SELECT concat('FCM-Invoice ',replace(format(numero_facture,0),',',''),' - ',prestation_name,' - ',substring(nom_voyageur,1,locate('/',nom_voyageur)-1),' ',substring(nom_voyageur,locate('/',nom_voyageur) + 1, length(nom_voyageur)-locate('/',nom_voyageur))) as description,
 date_format(now(),'%Y-%m-13') as due
from extrait_sapeig_stat e

我发现了问题!,我发现了问题!,我必须在concat函数中将所有值显式转换为字符串。现在我有了这个选择“FCM-Invoice”,替换格式数字制造,0',,,,,,,,,,,,,,,,,,,,,,,子字符串名称航行器,1,定位'/',名称航行器-1',,子字符串名称航行器,定位'/',名称航行器+1,长度名称航行器-定位'/',名称航行器作为描述,日期现在,“%Y-%m-13”由于外部统计而到期。eI发现了问题!,我发现了问题!,我必须在concat函数中将所有值显式转换为字符串。现在我有了这个选择的目录“FCM-Invoice”,替换格式数字制造,0',,,,,,-',预付款名称,'-',子字符串名称航行器,1,定位'/',名称航行器-1',子字符串名称航行器,定位'/',名称航行器+1,长度名称航行器-定位'/',名称航行器作为描述,日期-格式现在,%Y-%m-13'作为外部统计的到期日
 SELECT concat('FCM-Invoice ',replace(format(numero_facture,0),',',''),' - ',prestation_name,' - ',substring(nom_voyageur,1,locate('/',nom_voyageur)-1),' ',substring(nom_voyageur,locate('/',nom_voyageur) + 1, length(nom_voyageur)-locate('/',nom_voyageur))) as description,
 date_format(now(),'%Y-%m-13') as due
from extrait_sapeig_stat e