Re: ADO and ODBC: More - Mailing list pgsql-interfaces

From NTB Technical Support
Subject Re: ADO and ODBC: More
Date
Msg-id 004301c10578$0d4dc720$2780bcc3@northeast.co.uk
Whole thread Raw
In response to ADO and ODBC: More  ("NTB Technical Support" <techsupport@ntb.org.uk>)
Responses Re: ADO and ODBC: More  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
> I'd write it off as broken code in ADO, and program around it by not
> using column names that require quoting.  Ugly answer, but it's not
> clear that you have an alternative (short of waiting for an ADO fix).

I just don't fancy modifying all those hundreds of pages of code... And it
works with SQL Server,
so that would have to be broken in a compatible fashion!

> I don't like the idea of changing what SQLColAttributes returns ...
> that seems certain to break other applications.

That was, my guess too.

> But first, a wild stab in the dark --- what happens if you write
> RS("""child beds""") = 33
> ie provide the quotes at the application level?

Ah. Well. The recordset is a "collection" (like an associative array) whose
contents is created by ADO from the field names of the most-recently
executed query - so """child beds""" would be a non-existent member of the
collection...


Tim



pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: ADO and ODBC: More
Next
From: Tom Lane
Date:
Subject: Re: ADO and ODBC: More