0
Access Database and ColdFusion
New Here
,
/t5/coldfusion-discussions/access-database-and-coldfusion/td-p/2162819
Aug 27, 2009
Aug 27, 2009
Copy link to clipboard
Copied
I'm trying to retrieve data from Access DB sitting in coldfusion server but it won't return any data...
Query:
<cfquery datasource="MasterDB" name="AccessQRY">
Select Employee.Emp_Name, Salary.Emp_ID
From Employee inner join Salary on (Employee.ID = Salary.ID) AND (Employee.SectionName = Salary.SectionName);
</cfquery>
<cfdump var = "#AccessQRY#">
Is something wrong with my query...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/access-database-and-coldfusion/m-p/2162820#M106280
Aug 27, 2009
Aug 27, 2009
Copy link to clipboard
Copied
All I could see wrong with your query is the semi colon at the end. You don't want those in cfqueries.
What happens when you run the same sql inside Access?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
RosieGp
AUTHOR
New Here
,
LATEST
/t5/coldfusion-discussions/access-database-and-coldfusion/m-p/2162821#M106281
Aug 27, 2009
Aug 27, 2009
Copy link to clipboard
Copied
it just worked... thanks for the semicolon catch though...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

