Solved

List of possible SQL queries with ODBC and .NET?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

776 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