• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

programming sql queries in Access

Is it possible to program SQL queries in Access with the "dbo_ xxxxxx" scheme?
Would the underscores cause an error?
0
zachvaldez
Asked:
zachvaldez
2 Solutions
 
jerryb30Commented:
No, the underscore will not cause an error.
Yes, you can make sql queries against (presumably) linked SQL Server tables.
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Note that those queries must use ACCESS syntax, and not SQL Server Syntax. You can use "pass through" queries to do this - pass through queries are defined in Access, but you also define a connection string to your SQL database. The Access database then "passes through" your query to the sql server without parsing.
0
 
zachvaldezAuthor Commented:
can you provide examples please?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
zachvaldezAuthor Commented:
Id like to repharse the question?
"How can I program SQL queries in MS Access with the "dbo_tablename" schema used in SQL server?
0
 
Jeffrey CoachmanCommented:
Then perhaps you need to clearly define what you mean by "SQL queries" and "Program".
By SQL Queries, do you mean queries created in Access, based on linked SQL tables?
If so, post the SQL.

By "Program" do you mean "run" those queries?
You can certainly "Run" an Access query based on SQL Linked tables.
If you are asking if you can "Write/Create" queries in Access based on Linked SQL tables, then you will have to describe, in detail, what you need to do.
(possibly posting graphical examples)

But like zachvaldez asks, it is always best to post a clear example of what you have, and what you ultimately need to end up with.

For example, you never really stated what these queries are doing, or what type of queries these were:
Select queries, or Action queries, or Crosstab queries, Group By, ...etc

Not sure if any of this is even relevant, we just need a little more clarification.

Then I am sure that any of the experts here will be able to provide a more targeted solution.

;-)

JeffCoachman
0
 
zachvaldezAuthor Commented:
It is an OK answer but thanks for your help
0
 
Jeffrey CoachmanCommented:
Well it was not really an answer, just a request for more info.

Is this issue now resolved?
If so, what was the actual solution?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now