Solved

List of possible SQL queries with ODBC and .NET?

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now