Solved

List of possible SQL queries with ODBC and .NET?

Posted on 2007-11-19
3
182 Views
Last Modified: 2013-11-07
I'm having a lot of trouble getting my SQL queries to work with an ODBC connection even though they work from Access when linking the ODBC tables. I know Access uses JET, but what standard does ODBC use? I have the ODBC DSN setup on my Windows 2003 Data Sources. Is there a standard that all ODBC SQL queries should work. None of my complicated queries work, like nested SELECT statements with table aliases. I appreciate any help in helping me find some guidelines to follow.
0
Comment
Question by:bemara57
[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
  • 2
3 Comments
 
LVL 8

Expert Comment

by:Chumad
ID: 20313418
It will depend on your database provider. Oracle will behave differently than MSSQL will. Do you have a specific example of something that isn't working?
0
 

Author Comment

by:bemara57
ID: 20317985
I guess what I'm trying to ask is a list of differences between SQL syntaxes.. even if it's for a list of which syntax each database uses. I know that the propietary ODBC datasource we have is ANSI sql. MS SQL server uses T-SQL and Oracle uses something else and I'm sure there are more. My problem is that the syntax varies a bit and wanted to know which ones are out there.
0
 
LVL 8

Accepted Solution

by:
Chumad earned 500 total points
ID: 20398247
I doubt there's one single place that would list all the differences. In some cases, differences are very big, in other cases they are small and subtle.
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

717 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