1

我有以下查询,想知道如何将结果从 Sql 服务器导入到 Excel 工作表

这是我必须导入的

select c.description as 'provider',
b.lastname, b.firstname, b.middleinitial, 
convert(varchar(10),b.dob,101) as DOB, b.chartID,
b.sex, d.businessname, d.businessfax
from patientappointmentbase as a, patientlistbase as b, 
resourcebase as c, locationbase as d
where convert(varchar(10),a.starttime,101) = '06/26/2013'
and a.patientid = b.patientid
and a.resourceid = c.resourceid
and a.locationid = d.locationid
order by provider, lastname, firstname
4

0 回答 0