Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ANSI & Jet 1

Status
Not open for further replies.

miller1975

Programmer
Apr 19, 2005
58
US
Does VB recognize ANSI SQL. The reason I am asking is I got a code in ASNI (from DB2) and want to run it to get data into Access (which run on Jet). I am having trouble after trying to converting query to Jet. So if Vb can run ASNI SQL then its good.

Please advice.
 
This isn't a VB issue at all, but instead a Jet/Jet interface issue.


For the closest ANSI compliance be sure to use ADO with the Jet OLEDB Provider, not ADO with the older ODBC driver (which ADO implicitly invokes via the ODBC Provider) and not DAO. This is mentioned at the link above.

Jet uses a superset of a subset of ANSI SQL... in other words complaince is far from one-to-one on features and syntax.
 
Considering that you already got an answer to that in thread701-1046833, why are you still asking?
 
Hello Golom, The converted code did not work. So I wanted to know if I can run the ansi version in vb..
Like I said in my reply the query is not getting recognized.
I am getting "Micorsoft Access can't represent the join expression B.Branch_CO_NBR = C.BRANCH_CO_NBR in Design View" when I try to paste the code in the query SQL mode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top