Re: Problems querying DB2 through ADO



The underlying DB2 driver you use actually implements the SQL syntax, not
ADO or VB.NET.
If you are using an ODBC driver you can use the ODBC canonical join syntax
to be more generic across multiple drivers, see for example:

http://www.canaimasoft.com/f90sql/OnlineManual/Chapter03/Outer%20joins%20scape%20sequence.htm


--
Matt Neerincx [MSFT]

This posting is provided "AS IS", with no warranties, and confers no rights.

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"B. Chernick" <BChernick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DCE70540-1EDD-4390-B266-2B364B88EB0C@xxxxxxxxxxxxxxxx
> I'm trying to write an application in VB.Net 1.1 using the ADODB lib to
> access DB2 databases. The application will be running on a Windows 2003
> server. (That's what the client wants.)
>
> For lack of any better way to put it, are there any major 'GOTCHAS' when
> doing this sort of connection, especially regarding SQL syntax? I think I
> write fairly generic code but in this case I'm really beginning to wonder.
> One Join query works perfectly. Another I cannot get to work at all.
>
> All the code is read-only. All I'm doing in every case is generating a
> small resultset.
>


.



Relevant Pages

  • Re: Unable to load JdbcOdbc library
    ... > expose a JDBC interface, ... > Using ODBCTEST program that comes with the Solaris ODBC driver, ... network protocol accessible. ...
    (comp.lang.java.databases)
  • Re: ADO .NET and Informix
    ... I will also try the generic ODBC driver. ... Informix CSDK. ... problems with the informix ado drivers in the past, ...
    (comp.databases.informix)
  • Re: Connecting to Oracle via MS ODBC driver error
    ... from windows 2003 server using microsoft odbc for oracle drivers.... ... I had problems with the Microsoft ODBC driver when we switched from ... ODBC or OLEDB driver instead (might need to perform a custom install ... How To Acquire and Install the Microsoft Oracle ODBC Driver ...
    (comp.databases.oracle.misc)
  • Re: Unable to load JdbcOdbc library
    ... >> Using ODBCTEST program that comes with the Solaris ODBC driver, ... > network protocol accessible. ... > As IBM advertises the JDBC driver as type 4 ...
    (comp.lang.java.databases)
  • Re: Word Mail Merge with Foxpro data
    ... As long as you have the updated FoxPro ODBC driver (I think you will see ... at open" to ensure that the extra dialog to "confirm the data source" is ...
    (microsoft.public.word.mailmerge.fields)