Solved

List of possible SQL queries with ODBC and .NET?

Posted on 2007-11-19
3
180 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…

738 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