我在SQL查询分析器中,运行select Emp_id,Emp_name as 员工姓名,Sex as 性别,Title as 职务 from Employees
可以获得正确的结果,而在VC下使用
m_adodc.SetRecordSource("select Emp_id,Emp_name as 员工姓名,Sex as 性别,Title as 职务 from Employees");
当运行的时候就提示说SELECT语句附近有错误!
这是为什么啊?