Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

programming sql queries in Access

Posted on 2013-01-03
7
Medium Priority
?
278 Views
Last Modified: 2013-01-08
Is it possible to program SQL queries in Access with the "dbo_ xxxxxx" scheme?
Would the underscores cause an error?
0
Comment
Question by:zachvaldez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 26

Assisted Solution

by:jerryb30
jerryb30 earned 600 total points
ID: 38740909
No, the underscore will not cause an error.
Yes, you can make sql queries against (presumably) linked SQL Server tables.
0
 
LVL 85
ID: 38740942
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
 

Author Comment

by:zachvaldez
ID: 38741369
can you provide examples please?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:zachvaldez
ID: 38741498
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
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 600 total points
ID: 38741722
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
 

Author Closing Comment

by:zachvaldez
ID: 38756187
It is an OK answer but thanks for your help
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38756421
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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question