Solved

List of possible SQL queries with ODBC and .NET?

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 tmp files 3 40
Where on a calculated field 1 20
Please explain purpose of GZIP 4 34
PowerShell:  Column widths won't expand 3 14
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Read about achieving the basic levels of HRIS security in the workplace.
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…

809 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